src/operators/processing/meteosat/temperature.cpp
/**
 * This function uses the approximation method published by Eumetsat to calculate BTs from Radiance.
 * https://www.eumetsat.int/website/wcm/idc/idcplg?IdcService=GET_FILE&dDocName=PDF_EFFECT_RAD_TO_BRIGHTNESS&RevisionSelectionMethod=LatestReleased&Rendition=Web
 * @param wavenumber the wavenumber of a channel
 * @param alpha the alpha constant of a channel
 * @param beta the beta constant of a channel
 * @param radiance the radiance for which the BT should be computed
 * @return BT
 */
This function uses the approximation method published by Eumetsat to calculate BTs from Radiance.
This function uses the approximation method published by Eumetsat to calculate BTs from Radiance .
static double calculateTempFromEffectiveRadiance(double wavenumber, double alpha, double beta, double radiance) {
	double temp = (msg::c1 * 1.0e6 * wavenumber*wavenumber*wavenumber) / (1.0e-5 * radiance);
	temp = ((msg::c2* 100. * wavenumber / std::log(temp + 1)) - beta) / alpha;
	return temp;
}
static double calculateTempFromEffectiveRadiance ( double wavenumber , double alpha , double beta , double radiance ) { double temp = ( msg :: c1 * 1.0e6 * wavenumber * wavenumber * wavenumber ) / ( 1.0e-5 * radiance ) ; temp = ( ( msg :: c2 * 100. * wavenumber / std :: log ( temp + 1 ) ) - beta ) / alpha ; return temp ; }
This function uses the approximation method published by Eumetsat to calculate BTs from Radiance.
This function uses the approximation method published by Eumetsat to calculate BTs from Radiance .