read_file: Designed for the CM SAF R Toolbox.
Description
This function is a helper function called by the CM SAF R Toolbox.
Usage
read_file(infile, var_name, nc = NULL)
Arguments
- infile
Filename of input NetCDF file. This may include the directory
(character).
- var_name
Name of NetCDF variable (character).
- nc
Alternatively to infile
you can specify the input as an
object of class ncdf4
(as returned from ncdf4::nc_open
).