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

Quick fix validation reading entire zarr store for QC check #124

Merged
merged 4 commits into from
Nov 4, 2021

Conversation

brews
Copy link
Member

@brews brews commented Nov 4, 2021

Validation tries to read entire Zarr stores into memory to perform some checks.

This PR implements the work-around in https://github.com/ClimateImpactLab/downscaleCMIP6/blob/0122ce6730de73c6b64b8e9ca120e2bfaf95e7bb/workflows/templates/qualitycontrol-check-cmip6.yaml#L47 as a quick fix to the problem. Basically reading annual slices through via dask.delayed.

@brews brews added the bug Something isn't working label Nov 4, 2021
@brews brews self-assigned this Nov 4, 2021
@brews
Copy link
Member Author

brews commented Nov 4, 2021

Tagging @dgergel, for a quick look at this, if you can spare a moment. (thank you)

@brews brews requested a review from dgergel November 4, 2021 01:07
Copy link
Member

@dgergel dgergel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @brews!

@brews brews merged commit e357ece into ClimateImpactLab:main Nov 4, 2021
@brews brews deleted the fix_validate_memory branch November 4, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants