cmsaf.hist {cmsafvis}R Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a histogram plot of two variables.

Usage

cmsaf.hist(
  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.hovmoller(), cmsaf.scatter(), cmsaf.time.series()


[Package cmsafvis version 1.2.8 Index]