ReFRACtor
temperature_met.h
Go to the documentation of this file.
1 #ifndef TEMPERATURE_MET_H
2 #define TEMPERATURE_MET_H
3 #include "temperature_offset.h"
4 #include "meteorology.h"
5 
6 namespace FullPhysics {
7 /****************************************************************/
13 public:
15  const boost::shared_ptr<Pressure>& Press,
16  double Temp_offset,
17  bool Temp_flag);
18  virtual ~TemperatureMet() {}
19  virtual void print(std::ostream& Os) const;
20 
22  { return clone(press->clone()); }
24  clone(const boost::shared_ptr<Pressure>& Press) const;
25 
26 //-----------------------------------------------------------------------
28 //-----------------------------------------------------------------------
29 
30  virtual blitz::Array<double, 1> temperature_profile() const
31  { return met->temperature(); }
32 
33 //-----------------------------------------------------------------------
36 //-----------------------------------------------------------------------
37 
38  virtual blitz::Array<double, 1> pressure_profile() const
39  { return met->pressure_levels(); }
40 
41 private:
43 };
44 }
45 #endif
TemperatureMet(const boost::shared_ptr< Meteorology > &Met_file, const boost::shared_ptr< Pressure > &Press, double Temp_offset, bool Temp_flag)
Create an Temperature.
virtual blitz::Array< double, 1 > temperature_profile() const
Temperature from MET, used to write to output file.
virtual void print(std::ostream &Os) const
Print to stream.
This class maintains the temperature portion of the state.
This class maintains the temperature portion of the state.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
boost::shared_ptr< Pressure > press
Pressure.
virtual boost::shared_ptr< Temperature > clone() const
Clone a Temperature object.
virtual blitz::Array< double, 1 > pressure_profile() const
Pressure levels that temperature is on from MET, used to write to output file.

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