File tree Expand file tree Collapse file tree 6 files changed +205
-217
lines changed
Expand file tree Collapse file tree 6 files changed +205
-217
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 fail-fast : false
1717 matrix :
18- # Build native extensions in CI; keep a single stable interpreter to avoid
19- # old-Python wheels disappearing (e.g. py38 + latest h5py -> source build needing HDF5 headers).
20- python-version : ["3.9"]
18+ python-version : ["3.8", "3.9"]
2119 steps :
2220 - name : Checkout
2321 uses : actions/checkout@v4
3533 # Build requirements + runtime deps (setup.py imports numpy/scipy/pybind11/Cython)
3634 # Pin numpy<2 for compatibility with the bundled cython/pybind extensions.
3735 python -m pip install "numpy<2" "scipy<2" "Cython<3" pybind11
38- python -m pip install prettytable h5py xarray netcdf4 h5netcdf
36+ python -m pip install prettytable xarray netcdf4
3937
4038 - name : Build native extensions (in-place)
4139 run : |
Original file line number Diff line number Diff line change 11import os
22import re
33import time
4- import h5py
54import math
65import xarray as xr
76import functools
@@ -502,13 +501,16 @@ def checkDir(workDir):
502501
503502
504503def save_dict_to_hdf5 (h5file , d ):
505-
506- for key , value in d .items ():
507- if isinstance (value , dict ):
508- group = h5file .create_group (str (key ))
509- save_dict_to_hdf5 (group , value )
510- else :
511- h5file .create_dataset (key , data = value )
504+ """
505+ Deprecated: HDF5 support has been removed from UQPyL.
506+
507+ We keep this symbol for backward compatibility, but it will always raise.
508+ Use NetCDF (`xarray.Dataset.to_netcdf`) instead.
509+ """
510+ raise NotImplementedError (
511+ "HDF5 output has been removed from UQPyL. "
512+ "Please use NetCDF (`xarray.Dataset.to_netcdf`) instead."
513+ )
512514
513515
514516# def save_dict_to_nc(ncfile, d):
You can’t perform that action at this time.
0 commit comments