ReFRACtor
FullPhysics::GasVmrApriori Class Reference

Adapts the ReferenceVmrApriori class into a form that is easier to work with in the context of how this framework works. More...

#include <gas_vmr_apriori.h>

+ Inheritance diagram for FullPhysics::GasVmrApriori:
+ Collaboration diagram for FullPhysics::GasVmrApriori:

Public Member Functions

 GasVmrApriori (const boost::shared_ptr< Meteorology > &met_file, const boost::shared_ptr< Level1b > &l1b_file, const boost::shared_ptr< Altitude > &alt, const HdfFile &hdf_static_input, const std::string &hdf_group, const std::string &gas_name, const int temp_avg_window=11)
 
 GasVmrApriori (const blitz::Array< double, 1 > &pressure_levels, const blitz::Array< double, 1 > &temperature_levels, const double &obs_latitude, const Time &obs_time, const boost::shared_ptr< Altitude > &altitude, const HdfFile &reference_file, const std::string &hdf_group, const std::string &gas_name, const int temp_avg_window=11)
 
const blitz::Array< double, 1 > apriori_vmr () const
 
const blitz::Array< double, 1 > apriori_vmr (const Pressure &pressure) const
 
void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 
const boost::shared_ptr< ReferenceVmrApriorireference () const
 
const DoubleWithUnit tropopause_altitude () const
 
const double tropopause_pressure () const
 

Detailed Description

Adapts the ReferenceVmrApriori class into a form that is easier to work with in the context of how this framework works.

This class deals keys off of pressure levels like the rest of the framework. It also uses the increasing pressure levels convention.

The VMR returned will be in the order of levels expected elsewhere in the framework.

Definition at line 28 of file gas_vmr_apriori.h.

Constructor & Destructor Documentation

◆ GasVmrApriori() [1/2]

GasVmrApriori::GasVmrApriori ( const boost::shared_ptr< Meteorology > &  met_file,
const boost::shared_ptr< Level1b > &  l1b_file,
const boost::shared_ptr< Altitude > &  alt,
const HdfFile hdf_static_input,
const std::string &  hdf_group,
const std::string &  gas_name,
const int  temp_avg_window = 11 
)

Definition at line 47 of file gas_vmr_apriori.cc.

◆ GasVmrApriori() [2/2]

GasVmrApriori::GasVmrApriori ( const blitz::Array< double, 1 > &  pressure_levels,
const blitz::Array< double, 1 > &  temperature_levels,
const double &  obs_latitude,
const Time obs_time,
const boost::shared_ptr< Altitude > &  altitude,
const HdfFile reference_file,
const std::string &  hdf_group,
const std::string &  gas_name,
const int  temp_avg_window = 11 
)

Definition at line 65 of file gas_vmr_apriori.cc.

Member Function Documentation

◆ apriori_vmr() [1/2]

const blitz::Array< double, 1 > GasVmrApriori::apriori_vmr ( ) const

Definition at line 134 of file gas_vmr_apriori.cc.

◆ apriori_vmr() [2/2]

const blitz::Array< double, 1 > GasVmrApriori::apriori_vmr ( const Pressure pressure) const

Definition at line 141 of file gas_vmr_apriori.cc.

◆ print()

void FullPhysics::GasVmrApriori::print ( std::ostream &  Os) const
inline

Definition at line 56 of file gas_vmr_apriori.h.

◆ print_to_string()

std::string FullPhysics::Printable< GasVmrApriori >::print_to_string ( ) const
inlineinherited

Print to string.

This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.

Definition at line 31 of file printable.h.

◆ reference()

const boost::shared_ptr<ReferenceVmrApriori> FullPhysics::GasVmrApriori::reference ( ) const
inline

Definition at line 51 of file gas_vmr_apriori.h.

◆ tropopause_altitude()

const DoubleWithUnit FullPhysics::GasVmrApriori::tropopause_altitude ( ) const
inline

Definition at line 53 of file gas_vmr_apriori.h.

◆ tropopause_pressure()

const double GasVmrApriori::tropopause_pressure ( ) const

Definition at line 159 of file gas_vmr_apriori.cc.


The documentation for this class was generated from the following files:

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