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
Aggregation functions and other minor fixes #35
Conversation
… grammar issues, update requirements to reflect imported libraries, drop Python3.7 in tox, remove unused imports.
Co-authored-by: juliettelavoie <juliette.lavoie@hotmail.ca>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Are you planning on adding a section to GettingStarted ?
I will try a few tests of your functions on my data.
I was thinking of making a specific Notebook with |
I agree that |
For
|
It was on purpose since I didn't see the point of keeping it, but I can change that since you have a use case. |
…t()` as refactoring of `regrid.regrid()`
…subject functions
Co-authored-by: juliettelavoie <juliette.lavoie@hotmail.ca>
API refactoring
… ensemble-selection Conflicts: xscen/catalog.py
In the code that I copied for |
Making it optional is okay with me. The variable was always renamed because it was always in the same dataset has the 30y mean (no delta). But, in xscen, the mean and the deltas are separate. |
1 similar comment
Making it optional is okay with me. The variable was always renamed because it was always in the same dataset has the 30y mean (no delta). But, in xscen, the mean and the deltas are separate. |
This PR should be OK for a new round of reviews. I also updated the notebooks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je n'ai pas testé les fonctions, mais ça me semble beau!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Co-authored-by: juliettelavoie <juliette.lavoie@hotmail.ca>
for more information, see https://pre-commit.ci
Co-authored-by: juliettelavoie <juliette.lavoie@hotmail.ca>
for more information, see https://pre-commit.ci
… ensemble-selection
Pull Request Checklist:
pre-commit
hooks are installed/active in my local clone ($ pre-commit install
)number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
Main changes
aggregate.climatological_mean
computes rolling means over a specified window.aggregate.deltas
computes deltas.aggregate.spatial_mean
computes a spatial means using either.mean()
,.interp()
orxesmf.SpatialAverager()
compute_indicators
now supports disjointed time periods.Minor changes
Does this PR introduce a breaking change?
shapely
andgeopandas
would be requirements forxscen
. Are we fine with that?Other information: