The rawsDF
is checked for the presence of core data columns
Core columns include:
datetime
-- datetime of the observation
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)
fuelMoisture
-- fuel moisture
fuelTemperature
-- fuel temperature (C)
monitorType
-- FW13 or WRCC depending on data source
nwsID
-- NWS station identifier (for FW13 data)
wrccID
-- WRCC station identifier (for WRCC data)
locationName
-- English language station name
longitude
-- decimal degrees E
latitude
-- decimal degrees N
timezone
-- timezone of the station
elevation
-- elevation of station in m
rawsDF_isValid(rawsDF = NULL)
rawsDF object
TRUE
if rawsDF
has the correct structure,
FALSE
otherwise.
# \donttest{
library(RAWSmet)
rawsDF <- example_cefa_Saddle_Mountain %>% raws_toRawsDF()
rawsDF_isValid(rawsDF)
#> [1] TRUE
# }