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

zlib compression of string variables #60

Closed
wpreimes opened this issue Mar 16, 2023 · 0 comments · Fixed by #61
Closed

zlib compression of string variables #60

wpreimes opened this issue Mar 16, 2023 · 0 comments · Fixed by #61
Assignees

Comments

@wpreimes
Copy link
Member

Currently pynetcf activates compression either for all or for none of the variables in a file. However, soon there will be an error when writing to disk with activated compression when a string variable is in a dataset. (when using the conda-forge version of netcdf4 it already is the case conda-forge/netcdf4-feedstock#136 (comment)).

We should therefore ensure that pynetcf sets zlib=False for string variables. I have recently added a test, that will fail in future https://github.com/TUW-GEO/pynetcf/blob/master/tests/test_base.py#L70

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

Successfully merging a pull request may close this issue.

1 participant