Skip to content

Extract ICON baseline ensmean#167

Open
dnerini wants to merge 31 commits into
mainfrom
feat/extract-baseline-ensmean
Open

Extract ICON baseline ensmean#167
dnerini wants to merge 31 commits into
mainfrom
feat/extract-baseline-ensmean

Conversation

@dnerini
Copy link
Copy Markdown
Member

@dnerini dnerini commented Jun 1, 2026

No description provided.

frazane and others added 27 commits May 26, 2026 14:07
Resolve conflicts:
- inference_extract_requirements.py: keep branch's newer eccodes pins
  (eccodes>=2.44.0,<2.48.0 / eccodes-cosmo-resources-python==2.44.0.1).
- plot_forecast_frame.py / plot_meteogram.py: main refactored these from
  marimo notebooks (.mo.py) into plain scripts with new CLI (regions_json/
  stations/outdir). Took main's structure and re-applied the branch's
  earthkit-v1 data-model renames: step (not lead_time), valid_time (not time)
  for forecasts/baselines, latitude/longitude (not lat/lon) station coords,
  plus the grib-glob workaround for forecast frames.
Co-authored-by: Jonas Bhend <jonasbhend@users.noreply.github.com>
Co-authored-by: Jonas Bhend <jonasbhend@users.noreply.github.com>
@dnerini dnerini requested review from frazane and jonasbhend June 1, 2026 12:09
Copy link
Copy Markdown
Contributor

@jonasbhend jonasbhend left a comment

Choose a reason for hiding this comment

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

Cool. Looks straightforward to me. I will try now to see if it works as expected.

@dnerini dnerini marked this pull request as ready for review June 2, 2026 19:51
Copy link
Copy Markdown
Contributor

@jonasbhend jonasbhend left a comment

Choose a reason for hiding this comment

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

Very nice. Very cool addition indeed.

Using the median is a bit more tricky though, because we cannot aggregate on it. I.e. the 6hourly precipitation coming from the hourly median that is read through this PR will have a significant negative bias. So as soon as we make aggregation explicity, we should make sure that we read the corresponding median files (e.g. ..._median06h) for aggregated parameters.

Maybe best to add a warning / comment in the code so we don't forget.

@dnerini
Copy link
Copy Markdown
Member Author

dnerini commented Jun 4, 2026

Thanks for the review! Let's wait for #162 before merging

@dnerini dnerini changed the title Feat/extract baseline ensmean Extract ICON baseline ensmean Jun 4, 2026
@frazane frazane changed the base branch from feat/earthkit-v1-migration to main June 5, 2026 13:49
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.

3 participants