Skip to contents

Download MERRA data

Usage

download.MERRA(
  outfolder,
  start_date,
  end_date,
  lat.in,
  lon.in,
  overwrite = FALSE,
  verbose = FALSE,
  ...
)

Arguments

outfolder

Directory where results should be written

start_date, end_date

Range of years to retrieve. Format is YYYY-MM-DD, but only the year portion is used and the resulting files always contain a full year of data.

lat.in

site latitude in decimal degrees

lon.in

site longitude in decimal degrees

overwrite

logical. Download a fresh version even if a local file with the same name already exists?

verbose

logical. Passed on to ncvar_def and nc_create to control printing of debug info

...

Not used – silently soak up extra arguments from `convert_input`, etc.

Value

`data.frame` of meteorology data metadata

Author

Alexey Shiklomanov