(optional) A string containg the date format to use.
Value
A metFile S4 class containing the prepared met data.
Importing External Data
prepareMet accepts a standard R data
frame as an argument. As such, you can use any importation package that
returns data in or can be coerced to a data frame. Some examples: #'
Microsoft Excel files - readxl
NetCDF - RNetCDF
MySQL database - RMySQL
Generic databases (including Microsoft SQL
Server) - RODBC
Details
It will generate year/day columns from an existing date column, check to
ensure that dates are continuous and checks for the existence of required
column names (year, day, radn, mint, maxt and rain).
It will interpolate 365 day leap years (e.g. no extra day from GCMs) and
returns a metFile object that can be used with other APSIM functions.