Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Fix/stretched grid check #204

Merged
merged 3 commits into from
Dec 17, 2024
Merged

Fix/stretched grid check #204

merged 3 commits into from
Dec 17, 2024

Conversation

jswijnands
Copy link
Contributor

In the forecaster, there is a need to identify if we are dealing with a stretched grid model. The improvement in this PR also works if an existing graph is loaded from disk, in combination with a minimal config file specification of the graph.

This code update has been checked for stretched grid models.

Review suggestion (RMI): check if this change also works for LAM models when loading an existing graph from disk using a minimal configuration script.

Copy link

@dietervdb-meteo dietervdb-meteo left a comment

Choose a reason for hiding this comment

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

Code looks good. Tested on training of lam model with minimal config and graph from disk. This closes #203 .

icedoom888 pushed a commit to MeteoSwiss/anemoi-training that referenced this pull request Dec 17, 2024
* Identify stretched grid from graph

* Code quality improvements

* Added change log entry
@jswijnands jswijnands merged commit 15312f9 into develop Dec 17, 2024
119 checks passed
@jswijnands jswijnands deleted the fix/stretched-grid-check branch December 17, 2024 09:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: check for stretched grid breaks running with minimal graph config
2 participants