Atmospheric profile using best available data source. More...
#include <SuperProfileModel.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 () |
virtual void | SetUncertaintyBound (const double nSigma) const |
alter Model by nSigma standard deviations More... | |
SuperProfileModel () | |
virtual | ~SuperProfileModel () |
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,"Super", SuperProfileModel) | |
Private Attributes | |
GDASProfileModel * | fGDASProfileModel |
MonthlyAvgDBProfileModel * | fMonthlyAvgDBProfileModel |
Atmospheric profile using best available data source.
"atm/SuperProfileModel.h"
This model attempts to find data, in order, by checking the following sources:
Definition at line 36 of file SuperProfileModel.h.
|
protectedinherited |
Definition at line 76 of file VProfileModel.h.
SuperProfileModel::SuperProfileModel | ( | ) |
Definition at line 25 of file SuperProfileModel.cc.
References fGDASProfileModel, and fMonthlyAvgDBProfileModel.
|
virtual |
Definition at line 30 of file SuperProfileModel.cc.
References fGDASProfileModel, and fMonthlyAvgDBProfileModel.
|
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 75 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateDensityVsHeight(), atm::GDASProfileModel::EvaluateDensityVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
virtual |
Table of depth as a function of height.
Implements atm::VProfileModel.
Definition at line 86 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateDepthVsHeight(), atm::GDASProfileModel::EvaluateDepthVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
virtual |
Table of height as a function of depth.
Implements atm::VProfileModel.
Definition at line 97 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateHeightVsDepth(), atm::GDASProfileModel::EvaluateHeightVsDepth(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
virtual |
Table of air pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 42 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluatePressureVsHeight(), atm::GDASProfileModel::EvaluatePressureVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
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 108 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateRefractionIndexVsHeight(), atm::GDASProfileModel::EvaluateRefractionIndexVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
virtual |
Table of temperature as a function of height.
Implements atm::VProfileModel.
Definition at line 53 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateTemperatureVsHeight(), atm::GDASProfileModel::EvaluateTemperatureVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
virtual |
Table of vapor pressure as a function of height.
Implements atm::VProfileModel.
Definition at line 64 of file SuperProfileModel.cc.
References atm::MonthlyAvgDBProfileModel::EvaluateVaporPressureVsHeight(), atm::GDASProfileModel::EvaluateVaporPressureVsHeight(), fGDASProfileModel, fMonthlyAvgDBProfileModel, and atm::GDASProfileModel::HasData().
|
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 66 of file SuperProfileModel.h.
|
virtual |
Implements atm::VModel.
Definition at line 36 of file SuperProfileModel.cc.
References fGDASProfileModel, fMonthlyAvgDBProfileModel, atm::MonthlyAvgDBProfileModel::Init(), and atm::GDASProfileModel::Init().
|
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.
|
private |
Definition at line 66 of file SuperProfileModel.h.
Referenced by EvaluateDensityVsHeight(), EvaluateDepthVsHeight(), EvaluateHeightVsDepth(), EvaluatePressureVsHeight(), EvaluateRefractionIndexVsHeight(), EvaluateTemperatureVsHeight(), EvaluateVaporPressureVsHeight(), Init(), SuperProfileModel(), and ~SuperProfileModel().
|
private |
Definition at line 71 of file SuperProfileModel.h.
Referenced by EvaluateDensityVsHeight(), EvaluateDepthVsHeight(), EvaluateHeightVsDepth(), EvaluatePressureVsHeight(), EvaluateRefractionIndexVsHeight(), EvaluateTemperatureVsHeight(), EvaluateVaporPressureVsHeight(), Init(), SuperProfileModel(), and ~SuperProfileModel().
|
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().