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

Port Diana Gergel's QPLAD from CIL xclim fork #197

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

brews
Copy link
Member

@brews brews commented May 21, 2022

This adds a port of @dgergel's QuantilePreservingAnalogDownscaling for QPLAD downscaling.

This is ported from a ClimateImpactLab fork of xclim.

Porting this code lets us run QPLAD in dodola without depending on pip-installing an old fork of xclim, instead, installing xclim from conda-forge. A xclim=0.30.1 dependency from conda-forge was added to environment.yaml because I think this is the last version the xclim fork synced from https://github.com/Ouranosinc/xclim. v0.30.1 of xclim was released Oct 1st, 2021. Currently, the latest version of xclim is v0.36.0.

  • closes #xxxx
  • tests added / passed
  • docs reflect changes
  • entry in CHANGELOG.md

Adds Diana Gergel's code (from fork
ClimateImpactLab/xclim@63023d2
) to implement QPLAD downscaling with vanilla xclim install.
@brews brews added the enhancement New feature or request label May 21, 2022
@brews brews self-assigned this May 21, 2022
@brews
Copy link
Member Author

brews commented May 21, 2022

I had to move and rename a few things, but for the most part, the ported code is still intact and unharassed.

Copy link

codecov bot commented Apr 10, 2024

Codecov Report

Attention: Patch coverage is 74.28571% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 88.59%. Comparing base (fa5d319) to head (0e8b56d).
Report is 5 commits behind head on main.

Files Patch % Lines
dodola/core.py 74.28% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   89.34%   88.59%   -0.76%     
==========================================
  Files           8        8              
  Lines        1352     1420      +68     
==========================================
+ Hits         1208     1258      +50     
- Misses        144      162      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant