This function opens an NetCDF file The file can be specified as a string to the filepath, in which case a NetCDF connection is opened, or directly as a NetCDF connection.
Arguments
- x
either a path to a NetCDF file, or a NetCDF connection created using
nc_open
, or alibbi
object from which to read the output- file
file to open (out of "input", "init", "obs", "output"), if
x
is given as alibbi
object; by default, will read output file