met.process
Usage
met.process(
site,
input_met,
start_date,
end_date,
model,
host = "localhost",
dbparms,
dir,
spin = NULL,
overwrite = FALSE
)Arguments
- site
Site info from settings file
- input_met
Which data source to process.
- start_date
the start date of the data to be downloaded (will only use the year part of the date)
- end_date
the end date of the data to be downloaded (will only use the year part of the date)
- model
model_type name
- host
Host info from settings file
- dbparms
database settings from settings file
- dir
directory to write outputs to
- spin
spin-up settings passed to model-specific met2model. List containing nyear (number of years of spin-up), nsample (first n years to cycle), and resample (TRUE/FALSE)
- overwrite
Whether to force met.process to proceed.
`overwrite` may be a list with individual components corresponding to `download`, `met2cf`, `standardize`, and `met2model`. If it is instead a simple boolean, the default behavior for `overwrite=FALSE` is to overwrite nothing, as you might expect. Note however that the default behavior for `overwrite=TRUE` is to overwrite everything *except* raw met downloads. I.e., it corresponds to:
list(download = FALSE, met2cf = TRUE, standardize = TRUE, met2model = TRUE) List of `url`, `username`, `password`