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

fix(rescue): Use fixed length string encoding for cdo #58

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

coroa
Copy link
Collaborator

@coroa coroa commented Jun 4, 2024

Fixes #57.

Since CDO is not able to understand variable-length strings yet (which also only were added to the CF conventions in CF 1.9 (September 2021)), we encode the sector variable as fixed length string according to https://docs.xarray.dev/en/stable/user-guide/io.html#string-encoding

@gidden
Copy link
Member

gidden commented Jun 26, 2024

Thanks @coroa looks good!

@gidden gidden merged commit 6f75fa3 into main Jun 26, 2024
@coroa coroa deleted the fix-string-encoding branch June 26, 2024 09:18
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 this pull request may close these issues.

Wrong variable type for sector?
2 participants