Calculates the rmse, mae, bias, correlation over time of a NetCDF file and a dataframe (station data). Designed for the CM SAF R Toolbox.
cmsaf.stats.station.data(
var,
infile,
data_station,
outfile,
overwrite = FALSE,
nc = NULL
)
Name of NetCDF variable of NetCDF file (character).
Filename of input NetCDF file. This may include the directory (character).
Dataframe of RData or csv file (station data); Designed for the CM SAF R Toolbox.
Filename of output csv file. This may include the directory (character).
logical; should existing output file be overwritten?; Default: FALSE
Alternatively to infile
you can specify the input as an
object of class ncdf4
(as returned from ncdf4::nc_open
).
A csv file including the rmse, mae, bias and correlation over time is written.
Other metrics:
cmsaf.stats()