Description Usage Arguments Value
Function to download data from the merra2 dataset
1 2 | getMERRADataBox(targetPath = "", lon1, lat1, lon2, lat2, period, params, user,
pass, runParallel = TRUE, outputofParallelProc = "", dim, avg)
|
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 |
Does not return anything, but writes, as a side-effect, the downloaded files to disk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.