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

Reorganizing QDM related methods #216

Merged
merged 8 commits into from
May 24, 2024
Merged

Reorganizing QDM related methods #216

merged 8 commits into from
May 24, 2024

Commits on May 20, 2024

  1. refact: Relocating FillAndSmoothMixin

    The bias_calc was getting too large so let's break it in parts to make
    is easier to maintain and navigate. Creating a new sub-module mixins.
    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    e01dac8 View commit details
    Browse the repository at this point in the history
  2. refact: Relocating QuantileDeltaMappingCorrection

    The bias_calc was already quite large before adding PresRat. This commit
    relocates QuantileDeltaMappingCorrection in a new sub-module that will
    also receive PresRat.
    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    3ddd2c0 View commit details
    Browse the repository at this point in the history
  3. fix: Removing unused imports

    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    901b22b View commit details
    Browse the repository at this point in the history
  4. Defining __all__ for bias

    Defining what to expose with wildcard.
    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    89b4bab View commit details
    Browse the repository at this point in the history
  5. style: Drop coding utf-8 since that is already the default

    Since UTF-8 has been the default in a while, it is not recommended
    anymore using: '# -*- coding: utf-8 -*-'
    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    a91f4c5 View commit details
    Browse the repository at this point in the history
  6. Combining ruff setup from PR #215

    To keep the following PR cleaner, this commit moves and combines a few
    ruff setup from that PR into here.
    
    style: Adding 'F' into ruff's checks
    
      It seems to be the only one conforming.
    
    cfg: Missing to ignore F401
    
      Following @bnb32 setup.
    
    style: Ignore F401 only on __init__
    
      Thanks to @ppinchuk 's tip! I missed that before.
    
    Ignoring unused import in docs
    
    Including Warning (W) rules
    castelao committed May 20, 2024
    Configuration menu
    Copy the full SHA
    9456dd3 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. fix: Updating how to access QuantileDeltaMappingCorrection

    Using it as a bias' resource, and doesn't need to know how it is
    organized internally.
    castelao committed May 22, 2024
    Configuration menu
    Copy the full SHA
    3abc643 View commit details
    Browse the repository at this point in the history
  2. refact: local_qdm_bc available as a bias resource

    Following the pattern, `local_qdm_bc` should be available as a bias
    resource as well. I missed that when I was implementing it.
    castelao committed May 22, 2024
    Configuration menu
    Copy the full SHA
    c69951c View commit details
    Browse the repository at this point in the history