ncsubset: ncsubset

Description Usage Arguments Details Value Author(s)

Description

Make a new netCDF file containing a subset of an existing netCDF file.

Usage

1
2
ncsubset(.OldFileName, .NewFileName, .Start = NA, .End = NA,
  .VarList = NULL)

Arguments

.OldFileName

The path to the existing netCDF file.

.NewFileName

The path to the new subset netCDF file. Will be silently removed if present before writing the new file.

.Start

The start time (in HHMMSS format) for the new file. Default is the start time for the old file.

.End

The end time (in HHMMSS format) for the new file. Default is the end time for the old file.

.VarList

A vector of names of variables to include in the new file. Default is the list of variables in the old file.

Details

A smaller netCDF file is constructed by including only specified variables and a restricted time span. This only works for 1-Hz and 25-Hz files. It relies on the routine 'ncks' which must be present on the system.

Value

NULL; the result is a new file in a specified location.

Author(s)

William Cooper


WilliamCooper/Ranadu documentation built on July 10, 2019, 12:40 a.m.