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 am trying to open several ocean model data files. During the model run additional variables were written to the files. So for instance the first file will look like this:
If I specify the additional variables to be dropped, reading all files with xarray.open_mfdataset works like a charm.
But without specifying the variables to be dropped it takes an excruciating amount of time to load.
First of all, I was wondering if there would be the possibility to display a warning if this situation occurs, suggesting to add these variables as drop_variables keyword. That would have saved me a ton of digging time.
Even better would be some way to read such datasets in a fast manner. If we could specify a fastpath option (like suggested in #1823), perhaps this could speed this task up (given that all dimensions stay the same)?
Wondering if this is still an issue. I dont have the data to check it but in my experience these kind of operations have been much better in recent versions. Ill close this for now.
Code Sample, a copy-pastable example if possible
I am trying to open several ocean model data files. During the model run additional variables were written to the files. So for instance the first file will look like this:
and the last file will look like this (with additional data variables
o2_btf
,dic_btf
, and 'po4_btf`).If I specify the additional variables to be dropped, reading all files with
xarray.open_mfdataset
works like a charm.But without specifying the variables to be dropped it takes an excruciating amount of time to load.
First of all, I was wondering if there would be the possibility to display a warning if this situation occurs, suggesting to add these variables as
drop_variables
keyword. That would have saved me a ton of digging time.Even better would be some way to read such datasets in a fast manner. If we could specify a
fastpath
option (like suggested in #1823), perhaps this could speed this task up (given that all dimensions stay the same)?xarray: 0.10.0rc2-2-g1a01208
pandas: 0.20.3
numpy: 1.13.3
scipy: 0.19.1
netCDF4: 1.3.0
h5netcdf: 0.4.2
Nio: None
bottleneck: 1.2.1
cyordereddict: None
dask: 0.16.0
matplotlib: 2.1.0
cartopy: 0.15.1
seaborn: 0.8.1
setuptools: 36.3.0
pip: 9.0.1
conda: None
pytest: 3.2.3
IPython: 6.2.1
sphinx: None
The text was updated successfully, but these errors were encountered: