cmsaf.time.series: Plotting routine designed for the CM SAF R Toolbox.

View source: R/cmsaf.time.series.R

cmsaf.time.seriesR Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a time series plot of two variables.

Usage

cmsaf.time.series(
  var1,
  infile1,
  var2,
  infile2,
  outfile1,
  outfile2,
  plot.out = FALSE,
  nc34 = 4,
  overwrite = FALSE,
  verbose = FALSE,
  toolbox = FALSE,
  nc1 = NULL,
  nc2 = NULL
)

Arguments

var1

Name of the first NetCDF variable (character).

infile1

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

var2

Name of the second NetCDF variable (character).

infile2

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

outfile1

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

outfile2

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

plot.out

logical; if TRUE, the plot will be stored in the same folder as outfile1. If FALSE, the plot will not be saved.

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

toolbox

logical; if TRUE, toolbox mode enabled. The two files are adjusted in space and time so that they can be plotted.

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 are written.

See Also

Other 1d visualization: cmsaf.hist(), cmsaf.hovmoller(), cmsaf.scatter()


cmsafvis documentation built on Sept. 30, 2024, 5:07 p.m.