Molecular profile using a parametric model. More...
#include <ParametricXMLProfileModel.h>
Public Member Functions | |
const atm::ProfileResult & | EvaluateDensityVsHeight () const |
Table of density as a function of height. More... | |
const atm::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 |
Tabl 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 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... | |
bool | HasData () const |
True if a data source is for the given model. More... | |
void | Init () |
ParametricXMLProfileModel () | |
virtual void | SetUncertaintyBound (const double nSigma) const |
alter Model by nSigma standard deviations More... | |
virtual | ~ParametricXMLProfileModel () |
Destructor - should be virtual for base classes. 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 | |
REGISTER_MODEL (atm::VProfileModel,"ParametricXML", ParametricXMLProfileModel) | |
Molecular profile using a parametric model.
"atm/ParametricXMLProfileModel.h"
The data used in this model are stored in an XML file.
Definition at line 33 of file ParametricXMLProfileModel.h.
|
protectedinherited |
Definition at line 76 of file VProfileModel.h.
ParametricXMLProfileModel::ParametricXMLProfileModel | ( | ) |
Definition at line 36 of file ParametricXMLProfileModel.cc.
|
virtual |
Destructor - should be virtual for base classes.
Definition at line 39 of file ParametricXMLProfileModel.cc.
|
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().
|
virtual |
Table of density as a function of height.
Implements atm::VProfileModel.
Definition at line 155 of file ParametricXMLProfileModel.cc.
References atm::VProfileModel::fTabLogDensityVsHeight.
|
virtual |
Table of depth as a function of height.
Implements atm::VProfileModel.
Definition at line 161 of file ParametricXMLProfileModel.cc.
References atm::VProfileModel::fTabLogDepthVsHeight.
|
virtual |
Table of height as a function of depth.
Implements atm::VProfileModel.
Definition at line 167 of file ParametricXMLProfileModel.cc.
References atm::VProfileModel::fTabHeightVsLogDepth.
|
virtual |
Table of air pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 137 of file ParametricXMLProfileModel.cc.
References 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 |
Tabl of refraction index as a function of height.
Reimplemented from atm::VProfileModel.
Definition at line 173 of file ParametricXMLProfileModel.cc.
References atm::VProfileModel::fTabRIVsHeight.
|
virtual |
Table of temperature as a function of height.
Implements atm::VProfileModel.
Definition at line 149 of file ParametricXMLProfileModel.cc.
References atm::VProfileModel::fTabTemperatureVsHeight.
|
virtual |
Table of H2O vapor pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 143 of file ParametricXMLProfileModel.cc.
References 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 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.
|
inlinevirtual |
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 62 of file ParametricXMLProfileModel.h.
|
virtual |
Implements atm::VModel.
Definition at line 42 of file ParametricXMLProfileModel.cc.
References utl::atmosphere, atm::ProfileResult::eLinear, atm::ProfileResult::eLog, ERROR, atm::VProfileModel::fTabHeightVsLogDepth, atm::VProfileModel::fTabLogDensityVsHeight, atm::VProfileModel::fTabLogDepthVsHeight, atm::VProfileModel::fTabLogPressureVsHeight, atm::VProfileModel::fTabLogVaporPressureVsHeight, atm::VProfileModel::fTabRIVsHeight, atm::VProfileModel::fTabTemperatureVsHeight, utl::Branch::GetChild(), utl::Branch::GetData(), fwk::CentralConfig::GetTopBranch(), INFO, utl::kLn10, utl::kOverburdenSeaLevel, utl::RefractionIndex::LorentzLorentz(), and utl::TabulatedFunctionErrors::PushBack().
|
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.
|
protectedinherited |
Definition at line 69 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), atm::RadiosondeDBProfileModel::CheckForUpdates(), EvaluateHeightVsDepth(), atm::GDASProfileModel::EvaluateHeightVsDepth(), atm::RadiosondeDBProfileModel::EvaluateHeightVsDepth(), atm::VProfileModel::ExtendProfilesTo100km(), Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 73 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), atm::RadiosondeDBProfileModel::CheckForUpdates(), EvaluateDensityVsHeight(), atm::GDASProfileModel::EvaluateDensityVsHeight(), atm::RadiosondeDBProfileModel::EvaluateDensityVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 68 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), atm::RadiosondeDBProfileModel::CheckForUpdates(), EvaluateDepthVsHeight(), atm::GDASProfileModel::EvaluateDepthVsHeight(), atm::RadiosondeDBProfileModel::EvaluateDepthVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), Init(), and atm::VProfileModel::~VProfileModel().
|
protectedinherited |
Definition at line 70 of file VProfileModel.h.
Referenced by atm::GDASProfileModel::CheckForUpdates(), atm::RadiosondeDBProfileModel::CheckForUpdates(), EvaluatePressureVsHeight(), atm::GDASProfileModel::EvaluatePressureVsHeight(), atm::RadiosondeDBProfileModel::EvaluatePressureVsHeight(), atm::VProfileModel::EvaluateRefractionIndexVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), 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(), EvaluateVaporPressureVsHeight(), atm::GDASProfileModel::EvaluateVaporPressureVsHeight(), atm::RadiosondeDBProfileModel::EvaluateVaporPressureVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), 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(), EvaluateRefractionIndexVsHeight(), atm::GDASProfileModel::EvaluateRefractionIndexVsHeight(), atm::RadiosondeDBProfileModel::EvaluateRefractionIndexVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), 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(), EvaluateTemperatureVsHeight(), atm::GDASProfileModel::EvaluateTemperatureVsHeight(), atm::RadiosondeDBProfileModel::EvaluateTemperatureVsHeight(), atm::VProfileModel::ExtendProfilesTo100km(), Init(), and atm::VProfileModel::~VProfileModel().