Skip to content

Replace ERA20C (retired) by ERA5 dataset #57

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

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

hweifluids
Copy link

Dear Maintainers,

I hope this message finds you well.

The dataset currently demonstrated in tutorials-climate (ERC20C) was officially announced to be retired, and API could no longer be called, therefore these tutorials cannot run properly any more (both 2D and 3D). The newly-released open-licensed dataset ERA5, coming with new API but has almost the same dataset structure, is used instead.

More small bugs have been fixed.

Wish you all the best.

Huanxia Wei

hweifluids and others added 28 commits April 17, 2025 11:20
250417
When applied "data = spod.get_data(data)", it returns the following error:
    TypeError: invalid indexer array, does not have integer dtype: array(None, dtype=object)
    Why? reassignment occurs for data, and the type of data is changed to object.
Fixed: data = spod.get_data(data.values)

Cannot cd to correct dir (py version only)
    No like ipynb, py might be performed outside the tutorial2 directory.
Fixed: detect and cd to the correct directory before running.
ERA20C is somehow retired. The corresponding API function of ERA20C has been already disabled by EU center.
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

Successfully merging this pull request may close these issues.

1 participant