This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Description
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?