In several miniconda environments that use Python 3.12, opening a GINI-formatted dataset using MetPy's GINI Xarray backend is failing. Additionally, opening non-GINI formatted datasets throw a warning message, also related to the same underlying issue.
My sense is that the underlying behavior of Python's struct library has changed in 3.12.
Operating System
Linux
Version
1.5.1
Python Version
3.12.0
Code to Reproduce
import xarray as xr
from metpy.cbook import get_test_data
ds = xr.open_dataset(get_test_data('WEST-CONUS_4km_WV_20151208_2200.gini', as_file_obj=False))
What went wrong?
In several miniconda environments that use Python 3.12, opening a GINI-formatted dataset using MetPy's GINI Xarray backend is failing. Additionally, opening non-GINI formatted datasets throw a warning message, also related to the same underlying issue.
My sense is that the underlying behavior of Python's
struct
library has changed in 3.12.Operating System
Linux
Version
1.5.1
Python Version
3.12.0
Code to Reproduce
Errors, Traceback, and Logs