esm-tools / pymorize

A Python based Tool to CMORize NetCDF Data
https://pymorize.readthedocs.io
MIT License
2 stars 1 forks source link

Segfault in CI #66

Closed pgierz closed 5 days ago

pgierz commented 1 week ago

The CI on GitHub Actions runs in Ubuntu, which by default installs a weird NetCDF+HDF5 combination, leading to segfaults. This is now fixed by forcing the h5netcdf engine in xarray when in CI mode (yes, the "lets swap out the library specifically for CI" fix is horrible, but, it works)

Additionally, I rewired the configuration of the tool itself to use the library everett library. There is some documentation in the new config.py module. As a nice bonus, configurable options are auto-magically tabulated in the handbook.

Last failure in CI:

Related to #61

Task run 'save_dataset-08f' - Finished in state Failed('Task run encountered an exception ValueError: freq must be a str or a Resampler object')
pgierz commented 1 week ago

Related: https://github.com/pydata/xarray/issues/444

pgierz commented 1 week ago

This pull request includes several changes to the CI configuration, documentation, and the pymorize application code. The most important changes focus on adding support for HDF5 and NetCDF4, updating documentation, and enhancing the configuration management within pymorize.

CI Configuration Updates:

Documentation Enhancements:

Configuration Management:

Dependency Updates:

Code Enhancements: