xarray
xarray copied to clipboard
N-D labeled arrays and datasets in Python
### What happened? FAILED xarray/tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_numpy_datetime_data FAILED xarray/tests/test_backends.py::TestScipyFileObject::test_roundtrip_numpy_datetime_data FAILED xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_numpy_datetime_data FAILED xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_numpy_datetime_data = 4 failed, 4636 passed, 5632 skipped, 19 xfailed, 22 xpassed, 38 warnings in 266.18s (0:04:26) = ### What...
**What happened**: I have two `DataArray`s that each have a coordinate constructed with `pandas.interval_range`. In one case I pass the `interval_range` directly, in the other case I call `.to_numpy()` first....
### Is your feature request related to a problem? Most users of Xarray/Pandas start with an IO call of some sort. In Xarray, our `open_dataset(..., engine=engine)` interface provides an extensible...
### What is your issue? INSTALLED VERSIONS ------------------ commit: None python: 3.8.10 | packaged by conda-forge | (default, May 11 2021, 07:01:05) [GCC 9.3.0] python-bits: 64 OS: Linux OS-release: 5.4.0-73-generic...
### What happened? Open an ASCII raster file with xarray and rioxarray rasterio extension and then try to delete the ASCII file, get PermissionError: `PermissionError: [WinError 32] The process cannot...
### What happened? I unstacked a dataset and got values I didn't expect. It turns out that, when unstacking, my dataset had multiple values for the same index. This is...
### What happened? Applying the `mean` operator to an xarray dataset that has been grouped by bins, removes variables containing values of type `datetime64`. ### What did you expect to...
Do not try to convert NaN to integer type, as the operation is undefined and results in random values. This fixes all testsuite failures.
### What is your issue? Converting an xarray dataset to pandas dataframe has become much slower in the newest xarray version. I want to read in very large netcdf files,...
### What happened? `xr.where(..., keep_attrs=True)` overrides coordinate attributes of the result with global attributes from one of its inputs. ### What did you expect to happen? The coordinate attributes to...