Learn R Programming

cmsafops (version 1.1.0)

cmsaf.stats.station.data: 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)

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

Value

A csv file including the rmse, mae, bias and correlation over time is written.

See Also

Other metrics: cmsaf.stats()