Closed
Description
On Windows, with the following code I run out of memory:
d = xr.open_mfdataset(filepath)
sed = d.sediment_mass_per_unit_area.isel(time=-1)
sed.load()
d.close()
but when using "open_dataset" I load the data instantly:
d = xr.open_dataset(filepath)
sed = d.sediment_mass_per_unit_area.isel(time=-1)
sed.load()
d.close()
On linux both methods use minimal memory. The target file is 1.5 GB, and the target variable is 1460x862x900 floats. Filepath is a single file, not multiple files. Xarray 0.9.6 used on both systems, installed with conda.
Metadata
Metadata
Assignees
Labels
No labels