extract_netCDF: Extract and Save to File a Single NetCDF Variable

Description Usage Arguments Value Examples

View source: R/netCDF_functions.R

Description

Function to extract a single variable from NetCDF and save to file as a rasterStack. Variable names can be found using 'ncdf_info' function.

Usage

1
extract_netCDF(ncPaths, varname, savePath, r_level = NULL, verbose = T)

Arguments

ncPaths

One or more netCDF files containing the same variable.

varname

Variable name.

savePath

Path to save rasterStack as. Not written to file if not provided this arg.

r_level

Variable level if required.

verbose

Show progress bar and text

Value

Names of files.

Examples

1

ssaxe-usgs/modelCollect documentation built on Aug. 20, 2019, 9:44 a.m.