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

ENH: Streamlining seasonal averaging #5

Open
jklenzing opened this issue Sep 18, 2019 · 1 comment
Open

ENH: Streamlining seasonal averaging #5

jklenzing opened this issue Sep 18, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@jklenzing
Copy link
Member

Migrating from pysat/pysat#165. From @aburrell.

The seasonal binning and averaging is not very flexible. Currently, there are 1D and 2D binning functions that only allow medians to be calculated. I think the best way to improve this is to write an ND median/ave/other stat function. The statistical function could be provided as an input, allowing people to do clever things like find the moments from a Gaussian fit the the data in the desired bin. Then all the stat functions could go into utils.stats, and the seasonal binning part would live in ssnl. And if we do ND, then we won't have to keep re-writting things when we eventually want 3D or 4D binning.

@jklenzing jklenzing changed the title Streamlining seasonal averaging ENH: Streamlining seasonal averaging Sep 18, 2019
@jklenzing jklenzing added the enhancement New feature or request label Sep 18, 2019
@rstoneback
Copy link
Collaborator

We can and should do those things. In the meantime, the return_bins keyword returns all the data in each bin to the user. Users can then apply whatever they want until pysatSeasons gets upgraded.

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

No branches or pull requests

2 participants