NetCDFFile
Open an existing NetCDF file or create a new file at path.
Declaration
self = NetCDFFile(path,options)
Parameters
path(string) file pathoptions.shouldOverwriteExistinglogical scalar — delete existing file at path before creating a new datasetoptions.shouldUseClassicNetCDFlogical scalar — create classic (non-NetCDF4) file formatoptions.shouldReadOnlylogical scalar — open existing file in read-only mode
Returns
selfNetCDFFile instance
Discussion
If a file exists at path, it will be opened for reading or read/write (depending on options). If no file exists, the a new file will be created.