import_nc: Import the NetCDF file of daily gridded precipitation in...

Description Usage Arguments Details Value Source References Examples

View source: R/io-nc.R

Description

Import the NetCDF file of daily gridded precipitation in Brazil

Usage

1
import_nc(varnc = c("prec", "et0"), dest_dir = "input")

Arguments

varnc

a scalar character with the variable name: 'prec' or 'et0'.

dest_dir

a character with the name of where the downloaded file is saved. Default: fusepoc-prep/input.

Details

Warning: The size of the file is 1.5 GB!!! Make sure you have space available on disk. The download of files can take a while.

Value

a character path to the NetCDF file downloaded.

Source

https://utexas.app.box.com/v/Xavier-etal-IJOC-DATA/

References

https://rmets.onlinelibrary.wiley.com/doi/full/10.1002/joc.4518

Examples

1
if(FALSE) b_prec <- fuse.prep::import_nc(varnc = "prec", dest_dir = "input")

lhmet-ped/fuse.prep documentation built on Dec. 7, 2020, 3:08 p.m.