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 geopotential_height chunks #281

Merged
merged 1 commit into from
Dec 11, 2024
Merged

fix geopotential_height chunks #281

merged 1 commit into from
Dec 11, 2024

Conversation

zebengberg
Copy link
Contributor

Closes #280

Fixes

Bypass the ValueError raised by dask.array.gradient when the input array is not correctly chunk along the level dimension. Previously, Cocip would raise an error when computing tau cirrus in the case that the met data had single chunks along the level dimension.

Tests

  • QC test passes locally (make test)
  • CI tests pass

Reviewer

Select @ reviewer

@zebengberg zebengberg merged commit 3cdaa96 into main Dec 11, 2024
11 checks passed
@zebengberg zebengberg deleted the fix/geopotential-chunks branch December 11, 2024 17:29
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.

ValueError when running CoCiP on a Flight object
1 participant