Molecular profile information from database monthly averages. More...
#include "atm/MonthlyAvgDBProfileModel.h"
Public Member Functions | |
const atm::ProfileResult & | EvaluateDensityVsHeight () const override |
Table of density as a function of height. More... | |
const atm::ProfileResult & | EvaluateDepthVsHeight () const override |
Table of depth as a function of height. More... | |
const atm::ProfileResult & | EvaluateHeightVsDepth () const override |
Table of height as a function of depth. More... | |
const atm::ProfileResult & | EvaluatePressureVsHeight () const override |
Table of air pressure as a function of height. More... | |
const atm::ProfileResult & | EvaluateRefractionIndexVsHeight () const override |
Tabl of refraction index 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 & | EvaluateTemperatureVsHeight () const override |
Table of temperature as a function of height. More... | |
const ProfileResult & | EvaluateVaporPressureVsHeight () const override |
Table of H2O 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... | |
virtual bool | HasData () const override |
True if a data source is for the given model. More... | |
void | Init () override |
MonthlyAvgDBProfileModel ()=default | |
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,"MonthlyAvgDB", MonthlyAvgDBProfileModel) | |
Private Attributes | |
utl::TimeStamp | fCurrentTime |
Molecular profile information from database monthly averages.
This model provides access to the monthly average molecular profile information stored in the molecular atmosphere database.
Definition at line 29 of file MonthlyAvgDBProfileModel.h.
|
protectedinherited |
Definition at line 76 of file VProfileModel.h.
|
default |
|
private |
Definition at line 131 of file MonthlyAvgDBProfileModel.cc.
References utl::atmosphere, DEBUGLOG, atm::ProfileResult::eLinear, atm::ProfileResult::eLog, MolecularIds::eMalargueAprilModel, MolecularIds::eMalargueAugustModel, MolecularIds::eMalargueDecemberModel, MolecularIds::eMalargueFebruaryModel, MolecularIds::eMalargueJanuaryModel, MolecularIds::eMalargueJulyModel, MolecularIds::eMalargueJuneModel, MolecularIds::eMalargueMarchModel, MolecularIds::eMalargueMayModel, MolecularIds::eMalargueNovemberModel, MolecularIds::eMalargueOctoberModel, MolecularIds::eMalargueSeptemberModel, MolecularIds::eNone, ERROR, utl::UTCDate::GetMonth(), utl::kLn10, utl::kOverburdenSeaLevel, utl::RefractionIndex::LorentzLorentz(), utl::TabulatedFunctionErrors::PushBack(), utl::SaturationVaporPressure(), atm::MolecularDB::ZonesBegin(), and atm::MolecularDB::ZonesEnd().
|
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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), and atm::VProfileModel::~VProfileModel().
|
overridevirtual |
Table of density as a function of height.
Implements atm::VProfileModel.
Definition at line 83 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateDensityVsHeight().
|
overridevirtual |
Table of depth as a function of height.
Implements atm::VProfileModel.
Definition at line 93 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateDepthVsHeight().
|
overridevirtual |
Table of height as a function of depth.
Implements atm::VProfileModel.
Definition at line 103 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateHeightVsDepth().
|
overridevirtual |
Table of air pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 53 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluatePressureVsHeight().
|
overridevirtual |
Tabl of refraction index as a function of height.
Reimplemented from atm::VProfileModel.
Definition at line 113 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateRefractionIndexVsHeight().
|
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().
|
overridevirtual |
Table of temperature as a function of height.
Implements atm::VProfileModel.
Definition at line 63 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateTemperatureVsHeight().
|
overridevirtual |
Table of H2O vapor pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 73 of file MonthlyAvgDBProfileModel.cc.
Referenced by atm::SuperProfileModel::EvaluateVaporPressureVsHeight().
|
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 atm::RadiosondeDBProfileModel::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.
|
overridevirtual |
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 123 of file MonthlyAvgDBProfileModel.cc.
Referenced by testMonthlyAvgDBProfileModel::testHasData().
|
inlineoverridevirtual |
Implements atm::VModel.
Definition at line 34 of file MonthlyAvgDBProfileModel.h.
Referenced by atm::SuperProfileModel::Init(), and testMonthlyAvgDBProfileModel::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 63 of file MonthlyAvgDBProfileModel.h.
|
protectedinherited |
Definition at line 69 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateHeightVsDepth(), atm::GDASProfileModel::EvaluateHeightVsDepth(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateDensityVsHeight(), atm::GDASProfileModel::EvaluateDensityVsHeight(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluateDepthVsHeight(), atm::GDASProfileModel::EvaluateDepthVsHeight(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::ParametricXMLProfileModel::EvaluatePressureVsHeight(), atm::GDASProfileModel::EvaluatePressureVsHeight(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateVaporPressureVsHeight(), atm::GDASProfileModel::EvaluateVaporPressureVsHeight(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateRefractionIndexVsHeight(), atm::GDASProfileModel::EvaluateRefractionIndexVsHeight(), atm::RadiosondeDBProfileModel::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(), atm::RadiosondeDBProfileModel::CheckForUpdates(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::ParametricXMLProfileModel::EvaluateTemperatureVsHeight(), atm::GDASProfileModel::EvaluateTemperatureVsHeight(), atm::RadiosondeDBProfileModel::EvaluateTemperatureVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), atm::ParametricXMLProfileModel::Init(), and atm::VProfileModel::~VProfileModel().