cmsaf.adjust.two.files {cmsafops}R Documentation

Routine to adjust the time dimensions and coordinates in two files.

Description

Designed for CM SAF R Toolbox.

Usage

cmsaf.adjust.two.files(
  var1,
  infile1,
  var2,
  infile2,
  outfile1,
  outfile2,
  nc34 = 4,
  overwrite = FALSE,
  verbose = FALSE,
  nc1 = NULL,
  nc2 = NULL
)

Arguments

var1

Name of NetCDF variable of the first data set (character).

infile1

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

var2

Name of NetCDF variable of the second data set (character).

infile2

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

outfile1

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

outfile2

Filename of second 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

nc1

Alternatively to infile1 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).

nc2

Alternatively to infile2 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).

Value

Two NetCDF files with the same time period and coordinate system are the result.


[Package cmsafops version 1.4.0 Index]