NCSAVE save data to NetCDF4 file
create or append to data file
parent folder (file directory) must already exist
Contents
Inputs
- filename: data filename
- varname: variable name to save
- A: data to write
- opts.dims: name and size of dimensions
- opts.type: class of variable e.g. int32, single