ncss_create_fill: Create and fill a new netcdf as a subset of an existing...

Description Usage Arguments Details

View source: R/nc_subset.R

Description

Used internally by nc_subset()

Usage

1
2
ncss_create_fill(nc, filename, varlist, indlist, keep_open = TRUE,
  optimize = TRUE)

Arguments

nc

a ncdf4 object, as returned by ncdf4::nc_open()

filename

Where to write the new netcdf? Defaults to tempfile().

varlist

as returned by ncss_varlist()

indlist

as returned by ncss_indlist()

keep_open

Keep the netcdf open? Defaults to TRUE.

optimize

use start and count arguments to optimize ncvar_get() call?

Details

The new netcdf is a subset of the original, and also includes new 1-D variables containing the original dimensions' values.


markwh/subsetnc documentation built on Nov. 4, 2019, 6:15 p.m.