extarct_jra55_minmax_surf: Extract the Japanese Re-Analysis 55 Years (JRA-55) minimum...

Description Usage Arguments Value Examples

Description

This function extract an existing downloaded GRIB data from JRA-55 minimum and maximum temperature at 2 meters above ground over a specified region.

Usage

1
2
extarct_jra55_minmax_surf(start_date, end_date, output.dir, grads.bin,
  range.lon, range.lat, tstep)

Arguments

start_date

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

end_date

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

output.dir

Full path to the directory where the extracted files will be saved.

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.

range.lat

A numeric vector of length 2; minimum and maximum latitude of the area to be extracted.

tstep

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

Value

The extracted data are located under the directory called "Extracted".

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
extarct_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"
     )

## End(Not run)

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