List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
atm::RadiosondeDBProfileModel Class Reference

Molecular profile taken from radiosonde database. More...

#include <RadiosondeDBProfileModel.h>

Inheritance diagram for atm::RadiosondeDBProfileModel:
Inheritance graph
[legend]

Public Member Functions

const atm::ProfileResultEvaluateDensityVsHeight () const
 Table of density as a function of height. More...
 
const ProfileResultEvaluateDepthVsHeight () const
 Table of depth as a function of height. More...
 
const atm::ProfileResultEvaluateHeightVsDepth () const
 Table of height as a function of depth. More...
 
const atm::ProfileResultEvaluatePressureVsHeight () const
 Table of air pressure as a function of height. More...
 
virtual const ProfileResultEvaluateRefractionIndexVsHeight (const double wl) const
 Return a table of wavelength-independent refractive index vs. altitude. More...
 
const atm::ProfileResultEvaluateRefractionIndexVsHeight () const
 Table of refraction index as a function of height. More...
 
const atm::ProfileResultEvaluateTemperatureVsHeight () const
 Table of temperature as a function of height. More...
 
const ProfileResultEvaluateVaporPressureVsHeight () const
 Table of vapor pressure as a function of height. More...
 
virtual double GetVerticalTimeOfFlight (const double height1, const double height2) const
 Evaluate light signal time-of-flight between two altitudes. More...
 
bool HasData () const
 True if a data source is for the given model. More...
 
void Init ()
 
 RadiosondeDBProfileModel ()
 
virtual void SetUncertaintyBound (const double nSigma) const
 alter Model by nSigma standard deviations More...
 

Protected Types

typedef std::map< double,
ProfileResult * > 
AltWLFunction
 

Protected Member Functions

void CleanRIVsWavelength () const
 Clean up refraction indices. Derived modules decide when to do this. More...
 
void ExtendProfilesTo100km () const
 

Protected Attributes

ProfileResultfTabHeightVsLogDepth = nullptr
 
ProfileResultfTabLogDensityVsHeight = nullptr
 
ProfileResultfTabLogDepthVsHeight = nullptr
 
ProfileResultfTabLogPressureVsHeight = nullptr
 
ProfileResultfTabLogVaporPressureVsHeight = nullptr
 
ProfileResultfTabRIVsHeight = nullptr
 
AltWLFunction fTabRIVsHeightAndWaveLength
 
ProfileResultfTabTemperatureVsHeight = nullptr
 

Private Member Functions

bool CheckForUpdates () const
 
 REGISTER_MODEL (atm::VProfileModel,"RadiosondeDB", RadiosondeDBProfileModel)
 

Private Attributes

utl::TimeStamp fCurrentTime
 
bool fDbIsEmptyNow
 

Detailed Description

Molecular profile taken from radiosonde database.

  "atm/RadiosondeDBProfileModel.h"

This model provides access to molecular profiles recorded by the radisonde launches.

Author
T. Paul
Date
11 April 2005

Definition at line 38 of file RadiosondeDBProfileModel.h.

Member Typedef Documentation

typedef std::map<double, ProfileResult*> atm::VProfileModel::AltWLFunction
protectedinherited

Definition at line 76 of file VProfileModel.h.

Constructor & Destructor Documentation

RadiosondeDBProfileModel::RadiosondeDBProfileModel ( )

Definition at line 51 of file RadiosondeDBProfileModel.cc.

Member Function Documentation

bool RadiosondeDBProfileModel::CheckForUpdates ( ) const
private
void atm::VProfileModel::CleanRIVsWavelength ( ) const
protectedinherited

Clean up refraction indices. Derived modules decide when to do this.

Definition at line 207 of file VProfileModel.cc.

References atm::VProfileModel::fTabRIVsHeightAndWaveLength.

Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), and atm::VProfileModel::~VProfileModel().

const ProfileResult & RadiosondeDBProfileModel::EvaluateDensityVsHeight ( ) const
virtual

Table of density as a function of height.

Implements atm::VProfileModel.

Definition at line 289 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabLogDensityVsHeight.

const ProfileResult & RadiosondeDBProfileModel::EvaluateDepthVsHeight ( ) const
virtual

Table of depth as a function of height.

Implements atm::VProfileModel.

Definition at line 299 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabLogDepthVsHeight.

const ProfileResult & RadiosondeDBProfileModel::EvaluateHeightVsDepth ( ) const
virtual

Table of height as a function of depth.

Implements atm::VProfileModel.

Definition at line 309 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabHeightVsLogDepth.

const ProfileResult & RadiosondeDBProfileModel::EvaluatePressureVsHeight ( ) const
virtual

Table of air pressure as a function of height.

Implements atm::VProfileModel.

Definition at line 259 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabLogPressureVsHeight.

const ProfileResult & atm::VProfileModel::EvaluateRefractionIndexVsHeight ( const double  wl) const
virtualinherited
const ProfileResult & RadiosondeDBProfileModel::EvaluateRefractionIndexVsHeight ( ) const
virtual

Table of refraction index as a function of height.

Reimplemented from atm::VProfileModel.

Definition at line 319 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabRIVsHeight.

const ProfileResult & RadiosondeDBProfileModel::EvaluateTemperatureVsHeight ( ) const
virtual

Table of temperature as a function of height.

Implements atm::VProfileModel.

Definition at line 269 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabTemperatureVsHeight.

const ProfileResult & RadiosondeDBProfileModel::EvaluateVaporPressureVsHeight ( ) const
virtual

Table of vapor pressure as a function of height.

Implements atm::VProfileModel.

Definition at line 279 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates(), and atm::VProfileModel::fTabLogVaporPressureVsHeight.

void atm::VProfileModel::ExtendProfilesTo100km ( ) const
protectedinherited
double atm::VProfileModel::GetVerticalTimeOfFlight ( const double  height1,
const double  height2 
) const
virtualinherited

Evaluate light signal time-of-flight between two altitudes.

Definition at line 116 of file VProfileModel.cc.

References utl::cm, utl::cm2, utl::g, utl::kRefractiveIndexSeaLevel, utl::kSpeedOfLight, utl::m, and max.

bool RadiosondeDBProfileModel::HasData ( ) const
virtual

True if a data source is for the given model.

This method is meant to be checked to determine whether the given model is able to find valid data to evaluate. Typically it will always be true for parametric models which rely on an XML file, and will be true or false for database-based models, depending on whether or not relevant data are found in the DB for the current detector time

Implements atm::VModel.

Definition at line 66 of file RadiosondeDBProfileModel.cc.

References CheckForUpdates().

Referenced by testRadiosondeDBProfileModel::testHasData().

void RadiosondeDBProfileModel::Init ( void  )
virtual

Implements atm::VModel.

Definition at line 60 of file RadiosondeDBProfileModel.cc.

Referenced by testRadiosondeDBProfileModel::testHasData().

atm::RadiosondeDBProfileModel::REGISTER_MODEL ( atm::VProfileModel  ,
"RadiosondeDB"  ,
RadiosondeDBProfileModel   
)
private
void VModel::SetUncertaintyBound ( const double  nSigma) const
virtualinherited

alter Model by nSigma standard deviations

Reimplemented in atm::MeasuredDBMieModel, and atm::SuperMieModel.

Definition at line 11 of file VModel.cc.

References ERROR.

Member Data Documentation

utl::TimeStamp atm::RadiosondeDBProfileModel::fCurrentTime
mutableprivate

Definition at line 74 of file RadiosondeDBProfileModel.h.

Referenced by CheckForUpdates().

bool atm::RadiosondeDBProfileModel::fDbIsEmptyNow
mutableprivate

Definition at line 76 of file RadiosondeDBProfileModel.h.

Referenced by CheckForUpdates().

ProfileResult* atm::VProfileModel::fTabHeightVsLogDepth = nullptr
protectedinherited
ProfileResult* atm::VProfileModel::fTabLogDensityVsHeight = nullptr
protectedinherited
ProfileResult* atm::VProfileModel::fTabLogDepthVsHeight = nullptr
protectedinherited
ProfileResult* atm::VProfileModel::fTabLogPressureVsHeight = nullptr
protectedinherited
ProfileResult* atm::VProfileModel::fTabLogVaporPressureVsHeight = nullptr
protectedinherited
ProfileResult* atm::VProfileModel::fTabRIVsHeight = nullptr
protectedinherited
AltWLFunction atm::VProfileModel::fTabRIVsHeightAndWaveLength
mutableprotectedinherited
ProfileResult* atm::VProfileModel::fTabTemperatureVsHeight = nullptr
protectedinherited

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

, generated on Tue Sep 26 2023.