Skip to content

review: mikapfl#1

Open
mikapfl wants to merge 1 commit into
mainfrom
mp-suggestions
Open

review: mikapfl#1
mikapfl wants to merge 1 commit into
mainfrom
mp-suggestions

Conversation

@mikapfl
Copy link
Copy Markdown

@mikapfl mikapfl commented May 22, 2026

Great start! I like the introduction to core concepts and I think it is good that it is so hands-on.

I flagged some rough edges in the code (not really for merging, mostly, but as a way to add comments in the notebooks).

Also, I'm wondering if we could taylor it even more to what people are likely doing:

  • show how to explore what exactly metrics evaluate, how to get a reference to a description and read the ESMValTool recipe that is being run. Essentially, give users the tools they need to be certain what a metric is.
  • Connected to that, where do I see unit information? For example, the ECS example, I assume that the ECS is evaluated in K, but I don't see it explicitly anywhere. Maybe for other metrics, it is not so obvious.
  • show how to download a netcdf or similar result file from the public ref.
  • a bit more fluff about when you would want to use the public ref and why you would want to run locally, and maybe what the limitations of running locally are.

It didn't run comfortably on binder for me, notebooks 1 and 2 were fine, but at the end of 3, binder crashed for me and I could never start 4. I then switched to local.

"The REF API is documented with an [OpenAPI](https://www.openapis.org) schema.\n",
"You can browse the interactive docs at <https://api.climate-ref.org/docs>.\n",
"\n",
"The `climate_ref_client` package is *generated* from that schema (see `scripts/generate_client.sh`). \n",
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not the right place to document the technical details of how the client package is built.

"result = diagnostics_list_metric_values.sync(\n",
" provider_slug=\"esmvaltool\",\n",
" diagnostic_slug=\"climate-at-global-warming-levels\",\n",
" value_type=MetricValueType.SCALAR,\n",
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is nicer to show a concrete example, a scientist is likely interested in a specific metric, not in the first metric which has results

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