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

Pipeline requires explicit arguments for QuantileDeltaMappingCorrection #211

Merged
merged 9 commits into from
May 14, 2024

Conversation

castelao
Copy link
Member

@grantbuster raised the point that the pipeline system requires explicit argument to orchestrate the inputs.

@castelao castelao self-assigned this Apr 26, 2024
Copy link
Member

@grantbuster grantbuster left a comment

Choose a reason for hiding this comment

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

This looks good. Whats up with that one test? Random failure? Maybe just rerun failed tests?

Can you add another PR with the "extend and smooth" feature?

@grantbuster
Copy link
Member

Can you also add no_trend kwarg to the base DataHandler object?

Copy link
Collaborator

@bnb32 bnb32 left a comment

Choose a reason for hiding this comment

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

Could we add an integration test in the forward pass testing suite?

sup3r/bias/bias_calc.py Show resolved Hide resolved
@bnb32
Copy link
Collaborator

bnb32 commented May 2, 2024

@castelao The mac tests might pass after you rebase on main (aka remove the netCDF4 dep)

@grantbuster
Copy link
Member

@castelao looks good but can you add the no_trend kwarg to this method that will be passed to the local QDM bias correction? https://github.com/NREL/sup3r/blob/main/sup3r/preprocessing/data_handling/base.py#L1330

@castelao
Copy link
Member Author

castelao commented May 6, 2024

Could we add an integration test in the forward pass testing suite?

@bnb32 , is this still a request?

@castelao
Copy link
Member Author

Shall we merge this one? Is it missing anything?

@bnb32
Copy link
Collaborator

bnb32 commented May 13, 2024

Shall we merge this one? Is it missing anything?

All good!

As requested by @grantbuster, to qdm_bc() can pass along a 'no_trend'
option to QDM correction.
It's possible to infer the resulting offset from the theory, so we don't
need to save the full matrix of outputs.
Validate two aspects:
- We should be able to run a forward pass in a unbiased data.
- The bias trend should be observed in the predicted output.
clean: Unused variables

style: unused variable
@castelao castelao merged commit 96a6f6a into main May 14, 2024
9 checks passed
@castelao castelao deleted the fix/QDM_explicit_args branch May 14, 2024 04:17
github-actions bot pushed a commit that referenced this pull request May 14, 2024
Pipeline requires explicit arguments for QuantileDeltaMappingCorrection
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.

3 participants