Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@HCookie
Copy link
Member

@HCookie HCookie commented Jul 7, 2025

Description

Allow for mars logging to be turned off.

Examples

Yaml

input:
 mars:
  log: False

Python

from anemoi.inference.inputs.mars import MarsInput
MarsInput(log = False)

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

@HCookie HCookie self-assigned this Jul 7, 2025
@HCookie HCookie requested a review from gmertes July 7, 2025 13:49
@github-actions github-actions bot added the enhancement New feature or request label Jul 7, 2025
Copy link
Member

@gmertes gmertes left a comment

Choose a reason for hiding this comment

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

🪵

@gmertes gmertes merged commit e95f184 into main Jul 8, 2025
74 checks passed
@gmertes gmertes deleted the feat/add_logging_control_to_mars branch July 8, 2025 11:51
gmertes pushed a commit that referenced this pull request Aug 4, 2025
🤖 Automated Release PR

This PR was created by `release-please` to prepare the next release.
Once merged:

1. A new version tag will be created
2. A GitHub release will be published
3. The changelog will be updated

Changes to be included in the next release:
---


##
[0.7.0](0.6.3...0.7.0)
(2025-08-04)
This release brings a change to the default accumulation behaviour.
Prior to this release, accumulated fields were accumulated from the
beginning of the forecast. Now, the default is to write accumulated
fields unchanged as output by the model.

Users that wish to keep the old behaviour and accumulate fields from the
beginning of the forecast, need to add the
`accumulate_from_start_of_forecast` post-processor to the config, like
so:

```yaml
post_processors:
    - accumulate_from_start_of_forecast
```

### ⚠ BREAKING CHANGES

* Stop accumulating from start of forecast by default
([#265](#265))
* Drop python 3.9 support

### Features

* Add logging control to mars
([#268](#268))
([e95f184](e95f184))
* Add Zarr Output
([#275](#275))
([6c04b44](6c04b44))
* Allow for `Runner.run` to return torch
([#263](#263))
([77330f7](77330f7))
* Extend GribOutput class to write to FileLike Objects
([#269](#269))
([b9770e2](b9770e2))
* Inner-level processors
([#260](#260))
([59664cb](59664cb))
* Move anemoi-inference metadata command to anemoi-utils
([#257](#257))
([d735be5](d735be5))
* Option to pass extra kwargs to `predict_step`
([#283](#283))
([1d9eb02](1d9eb02))
* **outputs:** Extend tee to enable postprocessors
([#294](#294))
([2684293](2684293))
* **post-processors:** Add `assign_mask` post-processor
([#287](#287))
([0313909](0313909))
* **post-processors:** Extraction post-processors
([#285](#285))
([7205af1](7205af1))
* Remove python 3.9 from pyproject.toml
([#290](#290))
([0adbddd](0adbddd))
* Stop accumulating from start of forecast by default
([#265](#265))
([21826fb](21826fb))
* Temporal interpolation runner
([#227](#227))
([74048d9](74048d9))
* **waves:** Add ability to update `typed_variables` from config
([#202](#202))
([c02c45a](c02c45a))


### Bug Fixes

* Add area to template lookup dictionary
([#284](#284))
([0c5c812](0c5c812))
* Allow input preprocessors to patch data request
([#286](#286))
([833cb6f](833cb6f))
* Be less helpful
([#295](#295))
([a134f78](a134f78))
* Checkpoint patching
([#203](#203))
([77b90c0](77b90c0))
* **grib:** Ocean grib encoding
([#282](#282))
([b6afaac](b6afaac))
* **plot output:** Cast numpy values to float32
([#288](#288))
([3cc6915](3cc6915)),
closes [#276](#276)
* Provenance git dict reference issue
([#259](#259))
([2d70411](2d70411))
* Tensor not detached in debug mode
([#279](#279))
([d9efac5](d9efac5))
* Use data frequency in interpolator inference to be consistent with
training ([#266](#266))
([feac2a4](feac2a4))

---
> [!IMPORTANT]
> Please do not change the PR title, manifest file, or any other
automatically generated content in this PR unless you understand the
implications. Changes here can break the release process.
> ⚠️ Merging this PR will:
> - Create a new release
> - Trigger deployment pipelines
> - Update package versions

 **Before merging:**
 - Ensure all tests pass
 - Review the changelog carefully
 - Get required approvals

[Release-please
documentation](https://github.com/googleapis/release-please)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants