- w
a data.frame
object of weather station data for
formatting.
- YYYY
Column name character
or index in w
that refers to the year when the
weather was logged.
- MM
Column name character
or index in w
that refers to the month (numerical)
when the weather was logged.
- DD
Column name character
or index in w
that refers to the day of month when
the weather was logged.
- hh
Column name character
or index in w
that refers to the hour (24 hour) when
the weather was logged.
- mm
Column name character
or index in w
that refers to the minute when the
weather was logged.
- ss
Column name character
or index in w
that refers to the second when the
weather was logged.
- POSIXct_time
Column name character
or index in w
which contains a POSIXct
formatted time. This can be used instead of arguments YYYY
, MM
, DD
,
hh
, mm.
.
- time_zone
Time zone (Olsen time zone format) character
where the
weather station is located. May be in a column or supplied as a character string.
Optional, see also r
. See details.
- temp
Column name character
or index in x
that refers to temperature in degrees
Celsius.
- rain
Column name character
or index in w
that refers to rainfall in millimetres.
- rh
Column name character
or index in w
that refers to relative
humidity as a percentage.
- ws
Column name character
or index in w
that refers to wind speed in km / h.
- wd
Column name character
or index in w
that refers to wind direction in
degrees.
- wd_sd
Column name character
or index in w
that refers to wind speed columns
standard deviation. This is only applicable if weather data
is already summarised to hourly increments. See details.
- station
Column name character
or index in w
that refers to the weather station
name or identifier. See details.
- lon
Column name character
or index in w
that refers to weather station's
longitude. See details.
- lat
Column name character
or index in w
that refers to weather station's
latitude. See details.
- lonlat_file
A file path (character
) to a CSV which included station
name/id and longitude and latitude coordinates if they are not supplied in
the data. Optional, see also lon
and lat
.
- data_check
If TRUE
, it checks for NA values in all 'rain', 'temp',
'rh', 'wd' and 'ws' data and if any values which are unlikely. Use a character
vector of variable names, (wither any of 'rain', 'temp', 'rh', 'wd' or 'ws')
to check data from specific variables. If FALSE it ignores all variables and
could cause subsequent models using this data to fail.