Molecular profile taken from radiosonde database. More...
#include <RadiosondeDBProfileModel.h>
Public Member Functions | |
const atm::ProfileResult & | EvaluateDensityVsHeight () const |
Table of density as a function of height. More... | |
const ProfileResult & | EvaluateDepthVsHeight () const |
Table of depth as a function of height. More... | |
const atm::ProfileResult & | EvaluateHeightVsDepth () const |
Table of height as a function of depth. More... | |
const atm::ProfileResult & | EvaluatePressureVsHeight () const |
Table of air pressure as a function of height. More... | |
virtual const ProfileResult & | EvaluateRefractionIndexVsHeight (const double wl) const |
Return a table of wavelength-independent refractive index vs. altitude. More... | |
const atm::ProfileResult & | EvaluateRefractionIndexVsHeight () const |
Table of refraction index as a function of height. More... | |
const atm::ProfileResult & | EvaluateTemperatureVsHeight () const |
Table of temperature as a function of height. More... | |
const ProfileResult & | EvaluateVaporPressureVsHeight () 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 | |
ProfileResult * | fTabHeightVsLogDepth = nullptr |
ProfileResult * | fTabLogDensityVsHeight = nullptr |
ProfileResult * | fTabLogDepthVsHeight = nullptr |
ProfileResult * | fTabLogPressureVsHeight = nullptr |
ProfileResult * | fTabLogVaporPressureVsHeight = nullptr |
ProfileResult * | fTabRIVsHeight = nullptr |
AltWLFunction | fTabRIVsHeightAndWaveLength |
ProfileResult * | fTabTemperatureVsHeight = nullptr |
Private Member Functions | |
bool | CheckForUpdates () const |
REGISTER_MODEL (atm::VProfileModel,"RadiosondeDB", RadiosondeDBProfileModel) | |
Private Attributes | |
utl::TimeStamp | fCurrentTime |
bool | fDbIsEmptyNow |
Molecular profile taken from radiosonde database.
"atm/RadiosondeDBProfileModel.h"
This model provides access to molecular profiles recorded by the radisonde launches.
Definition at line 38 of file RadiosondeDBProfileModel.h.
|
protectedinherited |
Definition at line 76 of file VProfileModel.h.
RadiosondeDBProfileModel::RadiosondeDBProfileModel | ( | ) |
Definition at line 51 of file RadiosondeDBProfileModel.cc.
|
private |
Definition at line 74 of file RadiosondeDBProfileModel.cc.
References utl::TabulatedFunctionErrors::Begin(), atm::VProfileModel::CleanRIVsWavelength(), DEBUGLOG, atm::ProfileResult::eLinear, atm::ProfileResult::eLog, utl::TabulatedFunctionErrors::End(), MolecularIds::eRadiosonde, atm::VProfileModel::ExtendProfilesTo100km(), fCurrentTime, fDbIsEmptyNow, atm::VProfileModel::fTabHeightVsLogDepth, atm::VProfileModel::fTabLogDensityVsHeight, atm::VProfileModel::fTabLogDepthVsHeight, atm::VProfileModel::fTabLogPressureVsHeight, atm::VProfileModel::fTabLogVaporPressureVsHeight, atm::VProfileModel::fTabRIVsHeight, atm::VProfileModel::fTabTemperatureVsHeight, utl::TabulatedFunction::GetX(), utl::TabulatedFunctionErrors::GetXErr(), utl::TabulatedFunction::GetY(), utl::TabulatedFunctionErrors::GetYErr(), utl::TabulatedFunctionErrors::Insert(), utl::kLn10, km, utl::RefractionIndex::LorentzLorentz(), utl::TabulatedFunctionErrors::PushBack(), utl::SaturationVaporPressure(), atm::MolecularDB::ZonesBegin(), and atm::MolecularDB::ZonesEnd().
Referenced by EvaluateDensityVsHeight(), EvaluateDepthVsHeight(), EvaluateHeightVsDepth(), EvaluatePressureVsHeight(), EvaluateRefractionIndexVsHeight(), EvaluateTemperatureVsHeight(), EvaluateVaporPressureVsHeight(), and HasData().
|
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().
|
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.
|
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.
|
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.
|
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.
|
virtualinherited |
Return a table of wavelength-independent refractive index vs. altitude.
Definition at line 86 of file VProfileModel.cc.
References utl::RefractionIndex::Ciddor95(), atm::ProfileResult::eLinear, atm::ProfileResult::fProfile, atm::VProfileModel::fTabLogPressureVsHeight, atm::VProfileModel::fTabLogVaporPressureVsHeight, atm::VProfileModel::fTabRIVsHeightAndWaveLength, atm::VProfileModel::fTabTemperatureVsHeight, utl::TabulatedFunction::XBegin(), utl::TabulatedFunction::XEnd(), and atm::ProfileResult::Y().
|
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.
|
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.
|
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.
|
protectedinherited |
Use the U.S. Standard Atmosphere of 1976 to extend the altitude profiles to 100km (deprecated, pending release of the new molecular DB)
Definition at line 218 of file VProfileModel.cc.
References utl::TabulatedFunctionErrors::Begin(), utl::cm2, atm::ProfileResult::fProfile, atm::VProfileModel::fTabHeightVsLogDepth, atm::VProfileModel::fTabLogDensityVsHeight, atm::VProfileModel::fTabLogDepthVsHeight, atm::VProfileModel::fTabLogPressureVsHeight, atm::VProfileModel::fTabLogVaporPressureVsHeight, atm::VProfileModel::fTabRIVsHeight, atm::VProfileModel::fTabTemperatureVsHeight, utl::g, utl::TabulatedFunctionErrors::Insert(), utl::kelvin, utl::kg, utl::kLn10, km, utl::m3, utl::pascal, utl::TabulatedFunctionErrors::PushBack(), and utl::TabulatedFunction::XBack().
Referenced by atm::GDASProfileModel::CheckForUpdates(), and CheckForUpdates().
|
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.
|
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().
|
virtual |
Implements atm::VModel.
Definition at line 60 of file RadiosondeDBProfileModel.cc.
Referenced by testRadiosondeDBProfileModel::testHasData().
|
private |
|
virtualinherited |
alter Model by nSigma standard deviations
Reimplemented in atm::MeasuredDBMieModel, and atm::SuperMieModel.
Definition at line 11 of file VModel.cc.
References ERROR.
|
mutableprivate |
Definition at line 74 of file RadiosondeDBProfileModel.h.
Referenced by CheckForUpdates().
|
mutableprivate |
Definition at line 76 of file RadiosondeDBProfileModel.h.
Referenced by CheckForUpdates().
|
protectedinherited |
Definition at line 69 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateHeightVsDepth(), atm::GDASProfileModel::EvaluateHeightVsDepth(), EvaluateHeightVsDepth(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 73 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateDensityVsHeight(), atm::GDASProfileModel::EvaluateDensityVsHeight(), EvaluateDensityVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 68 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateDepthVsHeight(), atm::GDASProfileModel::EvaluateDepthVsHeight(), EvaluateDepthVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 70 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluatePressureVsHeight(), atm::GDASProfileModel::EvaluatePressureVsHeight(), EvaluatePressureVsHeight(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 71 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateVaporPressureVsHeight(), atm::GDASProfileModel::EvaluateVaporPressureVsHeight(), EvaluateVaporPressureVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 74 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateRefractionIndexVsHeight(), atm::GDASProfileModel::EvaluateRefractionIndexVsHeight(), EvaluateRefractionIndexVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().
|
mutableprotectedinherited |
Definition at line 77 of file VProfileModel.h.
Referenced by atm::VProfileModel::CleanRIVsWavelength(), and atm::VProfileModel::EvaluateRefractionIndexVsHeight().
|
protectedinherited |
Definition at line 72 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateTemperatureVsHeight(), atm::GDASProfileModel::EvaluateTemperatureVsHeight(), EvaluateTemperatureVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().