Open lesommer opened 8 years ago
another question : naming convention for netcdf files after computation, especially for multifiles.
we might need to test the netcdf format of the file, see this xarray issue
Naming conventions for output netcdf files are probably out of the scope of oocgcm. This is probably more a matter for nemo command line diagnostic tools based on oocgcm. oocgcm should a priori only provide use case examples using xarray save_mfdataset.
Example (copied from save_mfdataset docstring):
>>> years, datasets = zip(*ds.groupby('time.year'))
>>> paths = ['%s.nc' % y for y in years]
>>> xr.save_mfdataset(datasets, paths)
we could think of using something similar to :
mpas xarray wrapper