ReFRACtor
temperature_met_output.cc
Go to the documentation of this file.
2 
3 using namespace FullPhysics;
4 
5 #ifdef HAVE_LUA
6 #include "register_lua.h"
7 // Lua doesn't know to cast a pointer type of base class to a derived class.
8 // Add a conversion routine.
11 {
14  (boost::dynamic_pointer_cast<TemperatureMet>(T)));
15 }
17 .scope
18 [
19  luabind::def("create", &temp_met_create)
20 ]
22 #endif
23 
24 // See base class for description
25 
27 {
28  // Freeze the temperature state
30  boost::dynamic_pointer_cast<TemperatureOffset>(t->clone());
31  out->register_data_source("/RetrievalResults/temperature_offset_apriori_fph",
33  out->register_data_source("/RetrievalResults/temperature_profile_met",
35  out->register_data_source("/RetrievalResults/vector_pressure_levels_met",
37 }
38 
40 {
41  out->register_data_source("/RetrievalResults/temperature_offset_fph",
43  out->register_data_source("/RetrievalResults/temperature_offset_uncert_fph",
45 }
46 
double temperature_offset_uncertainty() const
Uncertainty of temperature offset.
virtual blitz::Array< double, 1 > temperature_profile() const =0
Temperature from ECMWF, used to write to output file.
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Definition: register_lua.h:136
This class maintains the temperature portion of the state.
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
virtual blitz::Array< double, 1 > pressure_profile() const =0
Pressure levels that temperature is on from ECMWF, used to write to output file.
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134
double temperature_offset() const
Temperature offset.
def(luabind::constructor< int >()) .def("rows"
This registers the portions of the TemperatureMet class that should be written as output...

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:11