ReFRACtor
temperature_level_offset.h
Go to the documentation of this file.
1 #ifndef TEMPERATURE_LEVEL_OFFSET_H
2 #define TEMPERATURE_LEVEL_OFFSET_H
3 #include "temperature_offset.h"
4 
5 namespace FullPhysics {
6 /****************************************************************/
12 public:
14  const blitz::Array<double, 1>& Temp_levels,
15  double Temp_offset,
16  bool Temp_flag);
18  virtual void print(std::ostream& Os) const;
19 
21  { return clone(press->clone()); }
23  clone(const boost::shared_ptr<Pressure>& Press) const;
24 
25  //-----------------------------------------------------------------------
27  //-----------------------------------------------------------------------
28  blitz::Array<double, 1> temperature_profile() const { return temp_levels; }
29  blitz::Array<double, 1> pressure_profile() const { return press->pressure_grid().value.value(); }
30 
31 private:
32  blitz::Array<double, 1> temp_levels;
33 };
34 }
35 #endif
This class maintains the temperature portion of the state.
TemperatureLevelOffset(const boost::shared_ptr< Pressure > &Press, const blitz::Array< double, 1 > &Temp_levels, double Temp_offset, bool Temp_flag)
Create an Temperature.
This class maintains the temperature portion of the state.
virtual boost::shared_ptr< Temperature > clone() const
Clone a Temperature object.
virtual void print(std::ostream &Os) const
Print to stream.
blitz::Array< double, 1 > temperature_profile() const
Temperature from profile, used to write to output file.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
boost::shared_ptr< Pressure > press
Pressure.
blitz::Array< double, 1 > pressure_profile() const
Pressure levels that temperature is on from ECMWF, 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