getMERRADataBox: Get MERRA Files for a given spatial box

Description Usage Arguments Value

Description

Function to download data from the merra2 dataset

Usage

1
2
getMERRADataBox(targetPath = "", lon1, lat1, lon2, lat2, period, params, user,
  pass, runParallel = TRUE, outputofParallelProc = "", dim, avg)

Arguments

targetPath

Path to save MERRA ncdf files to

lon1

Box coordinate

lat1

Box coordinate

lon2

Box coordinate

lat2

Box coordinate

period

A vector with all dates to download (daily entries in the vector).

params

The respective parameter to be downloaded

user, pass

username and password for the downloadserver get one at: https://urs.earthdata.nasa.gov/home

runParallel

if true, download uses available cores to parallelize downloads

dim

requested dataset dimension. 2d or 3d, however only 2d support tested at the moment.

avg

if true, time averaged variables will be prioritised

outputOfParallelProc

If different from "", output files are written to the specified directory

Value

Does not return anything, but writes, as a side-effect, the downloaded files to disk.


joph/MERRAbin documentation built on May 29, 2019, 1:07 a.m.