-
Notifications
You must be signed in to change notification settings - Fork 0
MRB-665 Support for global models and remove meteodata-lab #90
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
frazane
wants to merge
25
commits into
main
Choose a base branch
from
feat/support-global-models
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
cd511b9
read data with earthkit
frazane ebc5dec
optionally disable eccodes local definitions
frazane acc794f
add minimal configs
frazane 695cfcb
Merge branch 'main' into feat/support-global-models
dnerini 6f23152
Update config
dnerini e2553a1
Merge branch 'main' into feat/support-global-models
dnerini 7445145
Merge branch 'main' into feat/support-global-models
dnerini 091f75c
Change example config to stage B checkpoint
dnerini 7197a75
Merge branch 'main' into feat/support-global-models
dnerini 80f062c
Merge branch 'main' into feat/support-global-models
dnerini e1e0a7b
Merge branch 'main' into feat/support-global-models
dnerini a5ee466
Stage B models work
dnerini f3e9439
Fix config
dnerini df329cc
Support for tp
dnerini a474436
lint
dnerini 36fd358
Merge branch 'main' into feat/support-global-models
dnerini 561130c
Merge branch 'main' into feat/support-global-models
dnerini 9c3f7dc
Linting
dnerini d0bc642
chore: temporary fix of dependencies. Before merging we need to deal …
MicheleCattaneo 9eac3f4
fix: removed hardcoded verification domain equal to the ICON domain, …
MicheleCattaneo ad76047
Add lat lon information to ICON baselines (#150)
jonasbhend 1caa848
Blacklist of forecast initializations (#151)
jonasbhend ee3a5df
fix docstrings
frazane f25d0ac
update dependencies
frazane 79c34f1
fix config
frazane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # yaml-language-server: $schema=../workflow/tools/config.schema.json | ||
| description: | | ||
| Evaluate skill of a Stage B (global) checkpoint. | ||
|
|
||
| dates: | ||
| start: 2024-01-01T06:00 | ||
| end: 2024-02-01T00:00 | ||
| frequency: 30h | ||
|
|
||
| runs: | ||
| - forecaster: | ||
| checkpoint: https://service.meteoswiss.ch/mlstore#/experiments/602/runs/721576a388114c8788405cc6936ca13c | ||
| label: Stage B | ||
| steps: 0/120/6 | ||
| config: resources/inference/configs/global-forecaster.yaml | ||
| extra_requirements: | ||
| - git+https://github.com/ecmwf/anemoi-inference.git@b9aaee5df86614cad9d8d08b76876a4be4e980db | ||
| disable_local_eccodes_definitions: true | ||
| inference_resources: | ||
| slurm_partition: preemptible | ||
| - forecaster: | ||
| checkpoint: https://service.meteoswiss.ch/mlstore#/experiments/602/runs/878f19c35f6644d7bd91bd9374e47b91 | ||
| label: Stage B w/ subgrid | ||
| steps: 0/120/6 | ||
| config: resources/inference/configs/global-forecaster.yaml | ||
| extra_requirements: | ||
| - git+https://github.com/ecmwf/anemoi-inference.git@b9aaee5df86614cad9d8d08b76876a4be4e980db | ||
| disable_local_eccodes_definitions: true | ||
| inference_resources: | ||
| slurm_partition: preemptible | ||
|
|
||
| truth: | ||
| label: ERA5 | ||
| root: /store_new/mch/msopr/ml/datasets/aifs-ea-an-oper-0001-mars-n320-1979-2024-6h-v1-for-single-v2.zarr | ||
|
|
||
| stratification: | ||
| regions: [] | ||
| root: /scratch/mch/bhendj/regions/Prognoseregionen_LV95_20220517 | ||
|
|
||
| dashboard: | ||
| stratification: | ||
| # - init_hour | ||
| # - region | ||
| - season | ||
|
|
||
| locations: | ||
| output_root: output/ | ||
|
|
||
| profile: | ||
| executor: slurm | ||
| global_resources: | ||
| gpus: 16 | ||
| default_resources: | ||
| slurm_partition: "postproc" | ||
| cpus_per_task: 1 | ||
| mem_mb_per_cpu: 1800 | ||
| runtime: "1h" | ||
| gpus: 0 | ||
| jobs: 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| # yaml-language-server: $schema=../workflow/tools/config.schema.json | ||
| description: | | ||
| Evaluation of the multistep O96 global models for project "Advancing Temporal Resolution (a0170)" | ||
|
|
||
| dates: | ||
| start: 2024-01-01T06:00 | ||
| end: 2024-02-01T00:00 | ||
| frequency: 30h | ||
| # - 2024-02-01T00:00 | ||
|
|
||
| runs: | ||
| - forecaster: | ||
| checkpoint: /scratch/mch/miccatta/SwissAI_checkpoints/checkpoint_resO96_fr1_st1_in7_out6/a689d740f37642c38fd01a39cdbde96f/inference-last.ckpt | ||
| label: resO96_fr1_st1_in7_out6 | ||
| steps: 0/120/1 | ||
| config: resources/inference/configs/o96-global-multistep-forecaster.yaml | ||
| extra_requirements: | ||
| # - git+https://github.com/ecmwf/anemoi-inference.git@b9aaee5df86614cad9d8d08b76876a4be4e980db # TODO change | ||
| - git+https://github.com/ecmwf/anemoi-inference.git@2c249caa75af191ff3fd3b2a6a6297459d534a55 | ||
| disable_local_eccodes_definitions: true | ||
| # inference_resources: | ||
| # slurm_partition: preemptible | ||
| - forecaster: | ||
| checkpoint: /scratch/mch/miccatta/SwissAI_checkpoints/checkpoint_resO96_fr1_st1_in2_out1/877cb9559f6c484d97b3733b7481c39a/inference-last.ckpt | ||
| label: resO96_fr1_st1_in2_out1 | ||
| steps: 0/120/1 | ||
| config: resources/inference/configs/o96-global-multistep-forecaster.yaml | ||
| extra_requirements: | ||
| # - git+https://github.com/ecmwf/anemoi-inference.git@b9aaee5df86614cad9d8d08b76876a4be4e980db # TODO change | ||
| - git+https://github.com/ecmwf/anemoi-inference.git@2c249caa75af191ff3fd3b2a6a6297459d534a55 | ||
| disable_local_eccodes_definitions: true | ||
|
|
||
|
|
||
| truth: | ||
| label: ERA5-o96 | ||
| # root: /store_new/mch/msopr/ml/datasets/aifs-ea-an-oper-0001-mars-n320-1979-2024-1h-v2-with-era51.zarr | ||
| root: /store_new/mch/msopr/ml/datasets/aifs-ea-an-oper-0001-mars-o96-1979-2024-1h-v3-with-era51.zarr/ | ||
|
|
||
| stratification: | ||
| type: global | ||
| regions: [] | ||
|
|
||
| dashboard: | ||
| stratification: | ||
| # - init_hour | ||
| # - region | ||
| - season | ||
|
|
||
| locations: | ||
| output_root: output/ | ||
|
|
||
| profile: | ||
| executor: slurm | ||
| global_resources: | ||
| gpus: 16 | ||
| default_resources: | ||
| slurm_partition: "postproc" | ||
| cpus_per_task: 1 | ||
| mem_mb_per_cpu: 1800 | ||
| runtime: "1h" | ||
| gpus: 0 | ||
| jobs: 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| input: | ||
| test: | ||
| use_original_paths: true | ||
|
|
||
| allow_nans: true | ||
|
|
||
| output: | ||
| grib: | ||
| path: grib/{date}{time:04}_{step:03}.grib | ||
| negative_step_mode: skip | ||
| # templates: | ||
| # samples: resources/templates_index_global-ea.yaml | ||
|
|
||
| write_initial_state: true |
25 changes: 25 additions & 0 deletions
25
resources/inference/configs/o96-global-multistep-forecaster.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| input: | ||
| test: | ||
| use_original_paths: true | ||
|
|
||
| allow_nans: true | ||
|
|
||
| output: | ||
| grib: | ||
| path: grib/{date}{time:04}_{step:03}.grib | ||
| negative_step_mode: skip | ||
| # templates: | ||
| # samples: resources/templates_index_global-ea.yaml | ||
|
|
||
| write_initial_state: true | ||
|
|
||
| patch_metadata: | ||
| config: | ||
| dataloader: | ||
| test: | ||
| datasets: | ||
| data: | ||
| dataset_config: | ||
| dataset: /store_new/mch/msopr/ml/datasets/aifs-ea-an-oper-0001-mars-o96-1979-2024-1h-v3-with-era51.zarr/ | ||
| start: null | ||
| end: null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this was previously handled by meteodata-lab?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this didn't occur previously because we haven't read from the global files at all. All our lam cutouts use COSMO names.