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

ERA5 data formatting fails with data downloaded from CDS #78

@paulapreuss

Description

@paulapreuss

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions