issue_comments: 1109248716
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/6512#issuecomment-1109248716 | https://api.github.com/repos/pydata/xarray/issues/6512 | 1109248716 | IC_kwDOAMm_X85CHcrM | 56264363 | 2022-04-26T02:58:39Z | 2022-04-26T02:58:39Z | NONE | here is the
INSTALLED VERSIONScommit: None python: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:06:49) [Clang 12.0.1 ] python-bits: 64 OS: Darwin OS-release: 21.4.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.12.1 libnetcdf: 4.8.1 xarray: 0.19.0 pandas: 1.3.2 numpy: 1.20.3 scipy: 1.7.1 netCDF4: 1.5.7 pydap: installed h5netcdf: 1.0.0 h5py: 3.6.0 Nio: None zarr: 2.11.3 cftime: 1.5.1 nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.9 cfgrib: 0.9.9.1 iris: None bottleneck: None dask: 2021.10.0 distributed: 2021.10.0 matplotlib: 3.4.3 cartopy: 0.20.0 seaborn: None numbagg: None pint: None setuptools: 52.0.0.post20210125 pip: 21.0.1 conda: None pytest: None IPython: 8.1.1 sphinx: None ``` Here's 2022.grib.zip a file you can use for testing. And I believe this code should satisfy the MCVE request ``` import xarray as xr fp = '2022.grib' with xr.open_dataset(fp, backend_kwargs={'filter_by_keys': {'shortName': 'i10fg'}}) as ds: m = ds.sel(time=ds.time.dt.month.isin([3])) ``` this code produced this 2022.grib.02ccc.idx.zip file and it didn't delete it once the code finished running. Please let me know if you need any more info! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1214654475 |