Skip to content

v12: Replace conservative with regrid_method in HISTORY templates #812

Open
mathomp4 wants to merge 1 commit intofeature/sdrabenh/gcm_v12from
feature/v12-convert-to-regrid_method
Open

v12: Replace conservative with regrid_method in HISTORY templates #812
mathomp4 wants to merge 1 commit intofeature/sdrabenh/gcm_v12from
feature/v12-convert-to-regrid_method

Conversation

@mathomp4
Copy link
Member

Replace all instances of the deprecated collection.conservative syntax with the more flexible collection.regrid_method syntax across all HISTORY template files. This change converts:

  • conservative: 0 -> regrid_method: 'BILINEAR'
  • conservative: 1 -> regrid_method: 'CONSERVE'

providing better flexibility for regridding configuration.

This was prompted by @rtodling noticing we still had a mix, though @atrayano did confirm they do the same thing. This is a bit confusing to the end user as we should have a consistent style in HISTORY.rc. Indeed, some files mixed the two as they needed methods like BILINEAR_MONOTONIC which are only through regrid_method.

NOTE: The regrid_method syntax came in MAPL 2.22 (2022-06-24) so we are safe.

Replace all instances of the deprecated collection.conservative syntax
with the more flexible collection.regrid_method syntax across all
HISTORY template files. This change converts:

- conservative: 0 -> regrid_method: 'BILINEAR'
- conservative: 1 -> regrid_method: 'CONSERVE'

providing better flexibility for regridding configuration.

This was prompted by @rtodling noticing we still had a mix, though
@atrayano did confirm they do the same thing. This is a bit confusing
to the end user as we should have a consistent style in HISTORY.rc.
Indeed, some files mixed the two as they needed methods like
BILINEAR_MONOTONIC which are only through regrid_method.

NOTE: The regrid_method syntax came in MAPL 2.22 (2022-06-24) so we
are safe.
@mathomp4 mathomp4 self-assigned this Feb 23, 2026
@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Feb 23, 2026
@mathomp4 mathomp4 changed the title latest MGB merge v12: Replace conservative with regrid_method in HISTORY templates Feb 23, 2026
@mathomp4 mathomp4 marked this pull request as ready for review February 23, 2026 18:12
@mathomp4 mathomp4 requested a review from a team as a code owner February 23, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant