Closed forestbat closed 2 weeks ago
We do not have access to your test dataset. Can you create this nc file from scratch in your example or make this file available to us?
We do not have access to your test dataset. Can you create this nc file from scratch in your example or make this file available to us? I have put my dataset here: https://drive.google.com/file/d/151TOGBDy8KOBqQl7uzUq8r8420dRc4jU/view?usp=sharing
@forestbat The mcve works perfectly fine for xarray=2024.6 and netcdf4 1.7.1 on my machine. From looking at your traceback you are running this from within PyCharm. Does this have the same effect if you run this via plain Python interpreter?
As part of keeping our issue count <1000, closing as no MCVE, please reopen if anyone disagrees
What is your issue?
What happened?
I want to read netCDF dataset from my local filesystem, but it crashed with a Segmentation fault. This problem only occurs in local filesystem rather than s3 file system such as minio.
What did you expect to happen?
I want to get data from netCDF file(s).
Minimal Complete Verifiable Example
MCVE confimation
√ Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray. √ Complete example — the example is self-contained, including all data and the text of any traceback. √ Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result. √ New issue — a search of GitHub Issues suggests this is not a duplicate. √ Recent environment — the issue occurs with the latest version of xarray and its dependencies.
Relevant log output
Anything else we need to know?
I think it's similar to #8410 , however, even if I downgraded
netCDF4
to1.6.0
, the problem still occurs.Environment
python 3.11.9 xarray 2024.6.0 netcdf4 1.6.0