The rawsObject is checked for the 'raws_timeseries' class name and presence of core meta and data columns.

Core meta columns include:

  • deviceDeploymentID -- unique identifier (see MazmaLocationUtils)

  • deviceID -- device identifier

  • locationID -- location identifier (see MazmaLocationUtils)

  • locationName -- English language name

  • longitude -- decimal degrees E

  • latitude -- decimal degrees N

  • elevation -- elevation of station in m

  • countryCode -- ISO 3166-1 alpha-2

  • stateCode -- ISO 3166-2 alpha-2

  • timezone -- Olson time zone

  • nwsID -- NWS station identifier (for FW13 data)

  • wrccID -- WRCC station identifier (for WRCC data)

  • agencyName -- responsible agency (in WRCC data)

Core data columns include:

  • datetime -- measurement time (UTC)

  • temperature -- temperature (C)

  • humidity -- humidity (%)

  • windSpeed -- wind speed (m/s)

  • windDirection -- wind direction (degrees)

  • maxGustSpeed -- speed of max gust (m/s)

  • maxGustDirection -- direction of max gust (degrees)

  • precipitation -- precipitation (mm/h)

  • solarRadiation -- solar radiation (W/m^2)

raws_isRaws(rawsObject = NULL)

Arguments

rawsObject

raws_timeseries object

Value

TRUE if rawsObject has the correct structure, FALSE otherwise.

Examples

# \donttest{
library(RAWSmet)

raws_isRaws(example_cefa_Saddle_Mountain)
raws_isRaws(example_wrcc_Saddle_Mountain)
# }