Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCTracksForecast: NetCDF filter error on Python 3.11 #135

Closed
peanutfun opened this issue Jul 9, 2024 · 2 comments
Closed

TCTracksForecast: NetCDF filter error on Python 3.11 #135

peanutfun opened this issue Jul 9, 2024 · 2 comments

Comments

@peanutfun
Copy link
Member

NetCDF throws the following error in climada_petals.hazard.test.test_tc_tracks_forecast.TestECMWF.test_hdf5_io:

E   RuntimeError: NetCDF: Filter error: bad id or parameters or duplicate filter: (variable 'basin', group '/')

See https://github.com/CLIMADA-project/climada_petals/runs/27187449177/ This only occurs on Python 3.11. Unfortunately, the error message is cryptic and does not tell a lot.

It might have to do with compression of variable-length data (basin is probably a string?), which is not supported. According to Unidata/netcdf4-python#1175 (comment), zlib=False might solve the issue.

@peanutfun
Copy link
Member Author

Will probably be fixed by CLIMADA-project/climada_python#911

@peanutfun
Copy link
Member Author

Fixed by CLIMADA-project/climada_python#911

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant