cmsaf.stats {cmsafops}R Documentation

Calculates the rmse, mae, bias, correlation in grid space of two NetCDF files. Designed for the CM SAF R Toolbox.

Description

Calculates the rmse, mae, bias, correlation in grid space of two NetCDF files. Designed for the CM SAF R Toolbox.

Usage

cmsaf.stats(
  var1,
  var2,
  infile1,
  infile2,
  outfile,
  nc34 = 4,
  overwrite = FALSE,
  verbose = FALSE,
  nc1 = NULL,
  nc2 = NULL
)

Arguments

var1

Name of NetCDF variable of the first file (character).

var2

Name of NetCDF variable of the second file (character).

infile1

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

infile2

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

outfile

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

nc34

NetCDF version of input file. Default output is NetCDFv4.

overwrite

logical; should existing output file be overwritten?; Default: FALSE

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

A csv file including the rmse, mae, bias and correlation in grid space is written.

See Also

Other metrics: cmsaf.stats.station.data()


[Package cmsafops version 1.3.0 Index]