R/Clarity_enhanceRawSynopticData.R
Clarity_enhanceRawSynopticData.Rd
Enhance raw synoptic data from Clarity to create an improved dataframe compatible with the MazamaLocationUtils package.
Steps include:
1) Replace variable names with more consistent, human readable names.
2) Add spatial metadata for each sensor including:
timezone -- Olson timezone
countryCode -- ISO 3166-1 alpha-2
stateCode -- ISO 3166-2 alpha-2
3) Convert data types from character to POSIXct
and numeric
.
4) Add additional metadata items:
sensorManufacturer = "Clarity"
Clarity_enhanceRawSynopticData(rawSynoptic = NULL)
'synoptic' dataframe returned by Clarity_getAllOpenHourly()
.
Enhanced dataframe of synoptic Clarity data.