2 #include <boost/algorithm/string.hpp> 17 (boost::dynamic_pointer_cast<AbsorberVmrLevel>(A)));
32 : a_(a), afreeze_(afreeze) { }
41 blitz::Array<double, 1>
p = a_->vmr_profile();
42 blitz::Array<double, 1> ap = afreeze_->vmr_profile();
43 double res = fill_value<double>();
46 res = (
p(19) -
p(12)) - (ap(19) - ap(12));
61 boost::algorithm::to_lower(gname);
62 out->register_data_source
63 (
"/RetrievalResults/" + gname +
"_profile_apriori",
67 out->register_data_source
68 (
"/RetrievalResults/co2_vertical_gradient_delta",
75 std::string gname = a->gas_name();
76 boost::algorithm::to_lower(gname);
77 out->register_data_source
78 (
"/RetrievalResults/" + gname +
"_profile",
80 out->register_data_source
81 (
"/RetrievalResults/" + gname +
"_profile_uncert",
83 out->register_data_source
84 (
"/RetrievalResults/" + gname +
"_profile_covariance_matrix",
double co2_grad_del() const
This term is useful in the warn level determination.
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Apply value function to a blitz array.
const Unit A("A", 1.0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0)
This class maps the state vector to the absorber VMR on each level.
blitz::Array< double, 1 > vmr_uncertainty() const
Uncertainty of VMR.
This registers the portions of the AbsorberVmrLevel class that should be written as output...
blitz::Array< double, 2 > vmr_covariance() const
Covariance of vmr profile.
blitz::Array< double, 1 > vmr_profile() const
VMR on the pressure grid.
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
AbsorberVmrLevelHelper(const boost::shared_ptr< AbsorberVmrLevel > &a, const boost::shared_ptr< AbsorberVmrLevel > &afreeze)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
#define REGISTER_LUA_END()
def(luabind::constructor< int >()) .def("rows"
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.
virtual std::string gas_name() const
This indicates the name of this particular Absorber.