A Single Weather Observation.
Definition at line 55 of file WxObsMap.hpp.
#include <WxObsMap.hpp>
Public Types | |
enum | EWxSrc { noWx, defWx, obsWx } |
An enumeration of the various weather sources. More... | |
Public Member Functions | |
bool | isAllValid () const noexcept |
WxObservation () noexcept | |
Default Constructor. More... | |
WxObservation (const CommonTime &t, float temp, float pres, float humid) noexcept | |
Public Attributes | |
float | humidity |
percent More... | |
enum EWxSrc | humiditySource |
source of the humidity meas. More... | |
float | pressure |
millibars More... | |
enum EWxSrc | pressureSource |
source of the pressure meas. More... | |
CommonTime | t |
Time that this data was collected, in Rx GPS time. More... | |
float | temperature |
degrees Centigrade More... | |
enum EWxSrc | temperatureSource |
source of the temperature meas. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &s, const WxObservation &obs) noexcept |
An enumeration of the various weather sources.
Enumerator | |
---|---|
noWx | No weather measurements were available. |
defWx | Default weather was used. |
obsWx | The Observed Weather was used. |
Definition at line 87 of file WxObsMap.hpp.
|
inlinenoexcept |
Default Constructor.
Definition at line 58 of file WxObsMap.hpp.
|
inlinenoexcept |
Constructor
t | the time of the observation |
temp | the recorded temperature (deg. Centigrade) |
pres | the recorded pressure (millibars) |
humid | the recorded relative humidity (%) |
Definition at line 69 of file WxObsMap.hpp.
|
noexcept |
Return whether all weather values in this object are valid.
Definition at line 75 of file WxObsMap.cpp.
|
friend |
Friendly Output Operator.
s | the output stream to which data is sent |
obs | the WxObservation from which the data comes |
Definition at line 232 of file WxObsMap.cpp.
float gnsstk::WxObservation::humidity |
percent
Definition at line 84 of file WxObsMap.hpp.
enum EWxSrc gnsstk::WxObservation::humiditySource |
source of the humidity meas.
Definition at line 96 of file WxObsMap.hpp.
float gnsstk::WxObservation::pressure |
millibars
Definition at line 83 of file WxObsMap.hpp.
enum EWxSrc gnsstk::WxObservation::pressureSource |
source of the pressure meas.
Definition at line 95 of file WxObsMap.hpp.
CommonTime gnsstk::WxObservation::t |
Time that this data was collected, in Rx GPS time.
Definition at line 81 of file WxObsMap.hpp.
float gnsstk::WxObservation::temperature |
degrees Centigrade
Definition at line 82 of file WxObsMap.hpp.
enum EWxSrc gnsstk::WxObservation::temperatureSource |
source of the temperature meas.
Definition at line 94 of file WxObsMap.hpp.