Skip to content

feat(config): Expand environment var recognition for the use of config override#197

Merged
HCookie merged 5 commits intomainfrom
feat_add_config_override
Aug 7, 2025
Merged

feat(config): Expand environment var recognition for the use of config override#197
HCookie merged 5 commits intomainfrom
feat_add_config_override

Conversation

@HCookie
Copy link
Member

@HCookie HCookie commented Aug 6, 2025

Description

Allow for an env var to specify a path to override the default with

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.


📚 Documentation preview 📚: https://anemoi-utils--197.org.readthedocs.build/en/197/

@HCookie HCookie requested a review from b8raoult August 6, 2025 15:27
@HCookie HCookie self-assigned this Aug 6, 2025
@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Aug 6, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 6, 2025
@HCookie HCookie moved this from To be triaged to Under Review in Anemoi-dev Aug 6, 2025
Copy link
Collaborator

@b8raoult b8raoult left a comment

Choose a reason for hiding this comment

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

Can you rename ANEMOI_CONFIG_ENV to ANEMOI_CONFIG_PATH?

@HCookie HCookie force-pushed the feat_add_config_override branch from ff7068b to e5f3f64 Compare August 6, 2025 16:32
b8raoult
b8raoult previously approved these changes Aug 7, 2025
@HCookie HCookie force-pushed the feat_add_config_override branch from ecf5f45 to 5b745a4 Compare August 7, 2025 11:19
@HCookie HCookie changed the title feat(config): Add override env var feat(config): Expand environment var recognition for the use of config override Aug 7, 2025
@HCookie HCookie merged commit 9bd9170 into main Aug 7, 2025
69 of 71 checks passed
@HCookie HCookie deleted the feat_add_config_override branch August 7, 2025 11:28
@github-project-automation github-project-automation bot moved this from Under Review to Done in Anemoi-dev Aug 7, 2025
HCookie pushed a commit that referenced this pull request Aug 7, 2025
##
[0.4.33](0.4.32...0.4.33)
(2025-08-07)


### Features

* **config:** Expand environment var recognition for the use of config
override ([#197](#197))
([9bd9170](9bd9170))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants