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

HindcastEnsemble.verify() fails when valid_time of different object time than time #764

Closed
zmli-666 opened this issue Jun 29, 2022 · 3 comments
Labels

Comments

@zmli-666
Copy link

QQ截图20220628164611
QQ截图20220628164631
climpred_example.zip
Hi, I have a problem with using the HindcastEnsemble.verify() , and i don't where is wrong. Attached are the data files and code. I hope you could tell where is wrong.Thanks!

@zmli-666 zmli-666 added the bug label Jun 29, 2022
@aaronspring
Copy link
Collaborator

Thanks for code and data. I am currently on vacation without a computer and will report back to you in august.

@aaronspring
Copy link
Collaborator

The problem might arise from valid_time being datetime and init and time being objects/cftime. Does valid_time already exist in the xr dataset before using climpred? If so, drop it please HindcastEnsemble(ds.drop("valid_time")).verify(...)

@zmli-666
Copy link
Author

zmli-666 commented Jul 2, 2022

The problem might arise from valid_time being datetime and init and time being objects/cftime. Does valid_time already exist in the xr dataset before using climpred? If so, drop it please HindcastEnsemble(ds.drop("valid_time")).verify(...)

Thanks! The problem has been solved.

@aaronspring aaronspring changed the title meet a problem when using the HindcastEnsemble.verify() HindcastEnsemble.verify() fails when valid_time of different object time than time Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants