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

ERA5 data formatting fails with data downloaded from CDS #78

Open
paulapreuss opened this issue Oct 9, 2024 · 0 comments
Open

ERA5 data formatting fails with data downloaded from CDS #78

paulapreuss opened this issue Oct 9, 2024 · 0 comments

Comments

@paulapreuss
Copy link

paulapreuss commented Oct 9, 2024

format_windpowerlib and format_pvpowerlib from the era5.py module fail with the error AttributeError: 'DataFrame' object has no attribute 'time' after trying to format data retrieved from the CDS. The CDS data returned by get_era5_data_from_datespan_and_position uses the attribute name valid_time instead of time. Presumably this was changed with the recent CDS API update?

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

No branches or pull requests

1 participant