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.
bi_open(x, file = "output")
an open NetCDF connection
either a path to a NetCDF file, or a NetCDF connection created using
nc_open
, or a libbi
object from which to read the
output
file to open (out of "input", "init", "obs", "output"), if
x
is given as a libbi
object; by default, will read output
file