You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a problem in the context of consecutive model runs where history is appended in each subsequent run. When opening the results as mfdataset, history is taken from the first run file all subsequent history is lost.
NetCDF4 has a new keyword argument to set the master_file in a MFDataset (Unidata/netcdf4-python#835). Would it be possible to add a similar option in xarray?
Code Sample
Problem description
Currently, global attributes of multi-file datasets are taken from the first file in the list.
xarray/xarray/backends/api.py
Line 649 in b87b684
I think this is a problem in the context of consecutive model runs where history is appended in each subsequent run. When opening the results as mfdataset, history is taken from the first run file all subsequent history is lost.
NetCDF4 has a new keyword argument to set the
master_file
in aMFDataset
(Unidata/netcdf4-python#835). Would it be possible to add a similar option in xarray?Output of
xr.show_versions()
xarray: 0.10.8
pandas: 0.23.4
numpy: 1.15.0
scipy: 1.1.0
netCDF4: 1.4.2
h5netcdf: None
h5py: None
Nio: None
zarr: None
bottleneck: None
cyordereddict: None
dask: 0.18.2
distributed: None
matplotlib: 2.2.3
cartopy: 0.15.1
seaborn: None
setuptools: 40.0.0
pip: 18.0
conda: None
pytest: None
IPython: 5.8.0
sphinx: 1.7.6
The text was updated successfully, but these errors were encountered: