modifyNcdfDeleteVar: modifyNcdfDeleteVar

Description Usage Arguments Details Author(s)

View source: R/modifyNcdfDeleteVar.R

Description

delete variable using cdo

Usage

1
2
3
modifyNcdfDeleteVar(fileName, varNames, isVerbose = FALSE, 
    intermediateFilename = paste0(fileName, 
        "_ncdfTools", sample.int(1000, 1)))

Arguments

fileName

scalar string name of the file, that must not be open

varNames

string vector of variables to delete

isVerbose

set to TRUE to repeat CDO command

intermediateFilename

Details

if varName is not found among variable names, does nothing

cdo writes to a temporary file, which then replaces the original. To avoid copying large files across boundaries of mounted file systems, the intermediate file is created in the same directory as the original file by default.

Author(s)

Jannis v. Buttlar, Thomas Wutzler


bgctw/ncdfTools documentation built on Jan. 29, 2020, 1:16 p.m.