cmsaf.stats.station.data {cmsafops}R Documentation

Calculates the rmse, mae, bias, correlation over time of a NetCDF file and a dataframe (station data). Designed for the CM SAF R Toolbox.

Description

Calculates the rmse, mae, bias, correlation over time of a NetCDF file and a dataframe (station data). Designed for the CM SAF R Toolbox.

Usage

cmsaf.stats.station.data(
  var,
  infile,
  data_station,
  outfile,
  overwrite = FALSE,
  nc = NULL
)

Arguments

var

Name of NetCDF variable of NetCDF file (character).

infile

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

data_station

Dataframe of RData or csv file (station data); Designed for the CM SAF R Toolbox.

outfile

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

overwrite

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

nc

Alternatively to infile 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 over time is written.

See Also

Other metrics: cmsaf.stats()


[Package cmsafops version 1.3.0 Index]