Skip to content

Move GMFD extreme value filling to "parse GMFD" step - #28

Open
brews wants to merge 3 commits into
ClimateImpactLab:mainfrom
brews:clean_gmfd
Open

Move GMFD extreme value filling to "parse GMFD" step#28
brews wants to merge 3 commits into
ClimateImpactLab:mainfrom
brews:clean_gmfd

Conversation

@brews

@brews brews commented Aug 24, 2026

Copy link
Copy Markdown
Member

This PR moves extreme value cleaning into scripts/01-parse_gmfd.py, ensuring it's used for all subsequent steps.

This fixes an issue where extreme values in GMFD were cleaned only for the ERA5 bias adjustment and not the forecast bias adjustment.

Extreme value filling also happens before regirdding. Previously, it was done after regridding, at the coarser grid resolution. This avoids shuffling our dims around and rechunking.

@brews brews self-assigned this Aug 24, 2026
@brews brews added the bug Something isn't working label Aug 24, 2026
This fixes an issue where extreme values in GMFD were only cleaned for
the ERA5 bias adjustment, and not included in the forecast adjustment.
@brews
brews requested a review from ezuetell August 25, 2026 00:13
@brews

brews commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

I've cleaned up format, linting, and type checks to the best of my ability. Tests also pass just fine but CI is going to say this fails.

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.

1 participant