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

Fixed an issue with data format provided by new cds api, added test #79

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

y-pohlmann-lintas
Copy link

The API of the copernicus Climate Data Store (CDS) was revised at the end of September.

The data format provided by the API for ERA5 data has also changed.

The column containing the time stamps is now no longer called “time” but “valid_time”.
This leads to errors when reformatting the data provided into the dataframe format.

As a solution, I suggest simply renaming the column to “time” when reformatting.

I have also added a test that checks the reformatting into the Pandas dataframe format.
Sample data is used for this.

@p-snft p-snft added the bug label Nov 15, 2024
@p-snft
Copy link
Member

p-snft commented Dec 2, 2024

The test pipeline is outdated. (Our fault.) Would you please merge dev? That should allow to run them, again.

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

Successfully merging this pull request may close these issues.

2 participants