met2model.GDAY.Rd
Function to convert NetCDF met files in PEcAn-CF format into GDAY met driver files. This function is an R wrapper to the python script "generate_forcing_data.py" in the inst/ folder. The python script supports arguments to generate sub-daily (30 min) weather data as well as soil temperature from 6 day running mean. These arguments are hard-coded in this function to generate daily GDAY files without soil temperature.
met2model.GDAY(
in.path,
in.prefix,
outfolder,
start_date,
end_date,
overwrite = FALSE,
verbose = FALSE,
...
)
location on disk where inputs are stored
prefix of input and output files
location on disk where outputs will be stored
the start date of the data to be downloaded (will only use the year part of the date)
the end date of the data to be downloaded (will only use the year part of the date)
should existing files be overwritten
should the function be very verbose
additional arguments, currently ignored
generates GDAY formatted met file as a side affect, returns file metadata that will be inserted into database
met2model for GDAY