UFO
|
Relative Humidity filter. More...
#include <Cal_Humidity.h>
Public Member Functions | |
Cal_RelativeHumidity (const VariableTransformsParameters &options, const ObsFilterData &data, const std::shared_ptr< ioda::ObsDataVector< int >> &flags) | |
void | runTransform (const std::vector< bool > &apply) override |
Run variable conversion. More... | |
![]() | |
TransformBase (const VariableTransformsParameters &options, const ObsFilterData &data, const std::shared_ptr< ioda::ObsDataVector< int >> &flags) | |
virtual | ~TransformBase () |
Destructor. More... | |
virtual Variables | requiredVariables () const |
Return list of required geovals. More... | |
Private Member Functions | |
void | methodDEFAULT (const std::vector< bool > &apply) |
void | methodUKMO (const std::vector< bool > &apply) |
Additional Inherited Members | |
![]() | |
template<typename T > | |
void | getObservation (const std::string &originalTag, const std::string &varName, std::vector< T > &obsVector, bool require=false) const |
templated function for float, int data types More... | |
template<typename T > | |
void | putObservation (const std::string &varName, const std::vector< T > &obsVector) |
Save a transformed variable to the DerivedObsValue group of the obs space. More... | |
formulas::MethodFormulation | method () const |
subclasses to access Method and formualtion used for the calculation More... | |
formulas::MethodFormulation | formulation () const |
bool | UseValidDataOnly () const |
bool | AllowSuperSaturation () const |
void | SetUseValidDataOnly (bool t) |
std::string | obsName () const |
subclasses to access the observation name More... | |
![]() | |
const VariableTransformsParameters & | options_ |
Configurable parameters. More... | |
ObsFilterData | data_ |
Observation and geoval data. More... | |
ioda::ObsSpace & | obsdb_ = data_.obsspace() |
Observation space. More... | |
ioda::ObsDataVector< int > & | flags_ |
const int | missingValueInt = util::missingValue(1) |
Missing value (int) More... | |
const float | missingValueFloat = util::missingValue(1.0f) |
Missing value (float) More... | |
const std::string | outputTag = "DerivedObsValue" |
output tag for derived parameters More... | |
Relative Humidity filter.
Performs a variable conversion from specific_humidity, temperature, and pressure to relative humidity. The newly calculated variable is included in the same obs space.
See VariableTransformsParameters for filter setup.
Definition at line 40 of file Cal_Humidity.h.
ufo::Cal_RelativeHumidity::Cal_RelativeHumidity | ( | const VariableTransformsParameters & | options, |
const ObsFilterData & | data, | ||
const std::shared_ptr< ioda::ObsDataVector< int >> & | flags | ||
) |
Definition at line 19 of file Cal_Humidity.cc.
|
private |
Definition at line 229 of file Cal_Humidity.cc.
|
private |
Definition at line 68 of file Cal_Humidity.cc.
|
overridevirtual |
Run variable conversion.
Implements ufo::TransformBase.
Definition at line 27 of file Cal_Humidity.cc.