7 if(surf_temp.
rows() != flag.rows()) {
9 error <<
"Number of surface temperature channels: " << surf_temp.
rows()
10 <<
" must match retrieval flag array size: " << flag.rows();
32 std::stringstream sv_name;
33 sv_name <<
"Surface Temperature for channel " << i;
virtual boost::shared_ptr< SurfaceTemperature > clone() const
Clone a SurfaceTemperature object.
This is a AutoDerivative that also has units associated with it.
std::string state_vector_name_i(int i) const
Return state vector name for ith entry in coeff.
This is the base of the exception hierarchy for Full Physics code.
const blitz::Array< bool, 1 > & used_flag_value() const
blitz::Array< T, D > value
const ArrayAd< double, 1 > & coefficient() const
SurfaceTemperatureDirect(const ArrayWithUnit< double, 1 > &surf_temp, blitz::Array< bool, 1 > flag)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
void init(const blitz::Array< double, 1 > &Coeff, const blitz::Array< bool, 1 > &Used_flag, const boost::shared_ptr< Pressure > &Press=boost::shared_ptr< Pressure >(), bool Mark_according_to_press=true, int Pdep_start=0)
ArrayAd< double, 1 > coeff
Coefficients.
double value(const FullPhysics::AutoDerivative< double > &Ad)
virtual AutoDerivativeWithUnit< double > surface_temperature(int channel_index) const
Return the temperature of the surface.