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

Write fix to prevent vlen-strings being compressed with zlib #200

Merged
merged 2 commits into from
Jul 18, 2022

Conversation

davidhassell
Copy link
Contributor

Fixes #199

@davidhassell davidhassell added this to the 1.9.0.4 milestone Jul 18, 2022
Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested as working (locally) to fix the issue at hand, with test passes from this branch using my netcdf4 v1.6.0 + Python v3.10 as well as my netcdf4 v1.5.6 + Python v3.9 conda environments.

Obviously we already have a test which captures the issue (hence how we noticed this immediately with Python 3.10 since it updates to use netcdf4 1.6.0 and induced this, yay!).

Excellent, please merge.

@davidhassell davidhassell merged commit 3fef938 into NCAS-CMS:1.9.0.x Jul 18, 2022
@davidhassell davidhassell deleted the vlen-compression branch November 14, 2022 08:57
@davidhassell davidhassell added the netCDF write Relating to writing netCDF datasets label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
netCDF write Relating to writing netCDF datasets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cfdm.write "compress" parameter doesn't work for field with string-type coordinates (netCDF4==1.6.0)
2 participants