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

MOOC Tier 2, Module 1, Exercise 4 #13

Open
daniloceano opened this issue Mar 13, 2023 · 0 comments
Open

MOOC Tier 2, Module 1, Exercise 4 #13

daniloceano opened this issue Mar 13, 2023 · 0 comments
Assignees

Comments

@daniloceano
Copy link

The default command for the exercise after creating and stalling the plugin is:

ds = cml.load_dataset('my-plugin', parameter = 'soil_temperature')
However the created function requires "year" as an argument. Also, when I attempt to use any year as in:

ds = cml.load_dataset('my-plugin', parameter = 'soil_temperature', year=2000)
I receive the following error:

ValueError: Invalid value 'soil_temperature', possible values are ['tp', 't2m'] (EnumSingleOrListType)

Then, if I try to change the parameter, for example to 't2m', I would get:

HTTPError: 404 Client Error: Not Found for url: https://storage.ecmwf.europeanweather.cloud/climetlab/test-data/0.5/fixtures/plugin_create_dataset_example_2000_t2m.grib

I've changed the 'year' entry and received the same error for any year between 1980-2010

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

2 participants