temp_jra55_minmax_surf: Download and extract the Japanese Re-Analysis 55 Years...

Description Usage Arguments Value Examples

Description

This function download JRA-55 minimum and maximum temperature at 2 meters above ground and extract it over a specified region.

Usage

1
2
3
4
temp_jra55_minmax_surf(start_date = "2019-05-01",
  end_date = "2019-05-31", output.dir = getwd(), grads.bin = "grads",
  range.lon = c(-180, 180), range.lat = c(-89.57, 89.57),
  tstep = c("daily", "hourly3"), username = NA, password = NA)

Arguments

start_date

Start date to be downloaded, a character in the form "YYYY-MM-DD".

end_date

End date to be downloaded, a character in the form "YYYY-MM-DD".

output.dir

Full path to the directory where the downloaded and extracted files will be saved; default to the working directory.

grads.bin

Full path name of GrADS executable. For Mac and Linux, you can use "grads" if GrADS is in your PATH environment variable.

range.lon

A numeric vector of length 2; minimum and maximum longitude of the area to be extracted; default c(-180, 180).

range.lat

A numeric vector of length 2; minimum and maximum latitude of the area to be extracted; default c(-89.570, 89.570).

tstep

The time steps of the extracted data. Useful values are "daily" (aggregated to daily data) and "hourly3" (3-hourly data).

username

Your user ID for JMA Data Dissemination System (JDDS).

password

Your password for JDDS.

Value

A directory named "GRIB" and "Extracted" are created. "GRIB" contains the downloaded GRIB data and "Extracted" contains the extracted data in NetCDF format over the area that you specified.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
temp_jra55_minmax_surf(
        start_date = "2019-05-26",
        end_date = "2019-05-26",
        output.dir = "~/Desktop/DATA/JRA55",
        grads.bin = "grads",
        range.lon = c(42, 52),
        range.lat = c(-26, -11.5),
        tstep = "daily",
        username = "my.UID",
        password = "my.PWD"
     )

## End(Not run)

rijaf-iri/CDTDownload documentation built on June 5, 2019, 12:37 a.m.