cmsaf.sub.rel: Subtract the fields of two input NetCDF files (relative)....

Description Usage Arguments Value

View source: R/cmsaf.sub.rel.R

Description

The function subtracts the fields of infile2 from the fields of infile1. Infiles have to have the same spatial and temporal dimension.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cmsaf.sub.rel(
  var1,
  infile1,
  var2,
  infile2,
  outfile,
  nc34 = 4,
  overwrite = FALSE,
  verbose = FALSE
)

Arguments

var1

Name of variable in infile1 (character).

infile1

Filename of first input NetCDF file. This may include the directory (character).

var2

Name of variable in infile2 (character).

infile2

Filename of second input NetCDF file. This may include the directory (character).

outfile

Filename of output NetCDF file. This may include the directory (character).

nc34

NetCDF version of output file. If nc34 = 3 the output file will be in NetCDFv3 format (numeric). Default output is NetCDFv4.

overwrite

logical; should existing output file be overwritten?

verbose

logical; if TRUE, progress messages are shown

Value

A NetCDF file including the subtracted fields of infile1 and infile2 is written.


cmsafops documentation built on Sept. 6, 2021, 9:09 a.m.