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

climpred.classes.HindcastEnsemble.bootstrap dim member and init simultaneously #763

Open
zmli-666 opened this issue Jun 17, 2022 · 3 comments

Comments

@zmli-666
Copy link

Could the HindcastEnsemble.bootstrapresample for "member" and "init" in dim simultaneously? And how?

@aaronspring
Copy link
Collaborator

Thank you for considering climpred and raising this issue @zmli-666.

Bootstrapping / resampling along both dimensions simultaneously isn't implemented (yet). It could be implemented by doing first the init resampling and then internally a member resampling on top of that.

PR welcome 😃

@aaronspring aaronspring changed the title climpred.classes.HindcastEnsemble.bootstrap climpred.classes.HindcastEnsemble.bootstrap dim "member" and "init" simultaneously Jun 17, 2022
@aaronspring
Copy link
Collaborator

@aaronspring aaronspring changed the title climpred.classes.HindcastEnsemble.bootstrap dim "member" and "init" simultaneously climpred.classes.HindcastEnsemble.bootstrap dim member and init simultaneously Aug 23, 2022
@aaronspring
Copy link
Collaborator

played a bit around with xbootstrap: https://gist.github.com/aaronspring/471e70f787aef6689825182e794421fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants