write_adms: Export a meteorological data frame in ADMS format
Description
Writes a text file in the ADMS format to a location of the user's choosing,
with optional interpolation of missing values. This function works with data
from both import_ghcn_hourly() and import_isd_hourly().
A data frame imported by import_ghcn_hourly() or
import_isd_hourly(). Note that this function only works for hourly GHCN
data when abbr_names = TRUE.
file
A file name for the ADMS file. The file is written to the working
directory by default.
interp
Should interpolation of missing values be undertaken? If TRUE
linear interpolation is carried out for gaps of up to and including
max_gap.
max_gap
The maximum gap in hours that should be interpolated where
there are missing data when interp = TRUE. Data with gaps more than
max_gap are left as missing.