v11: Replace conservative with regrid_method in HISTORY#811
Open
v11: Replace conservative with regrid_method in HISTORY#811
Conversation
…mplates 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 to regrid_method: 'BILINEAR' and conservative: 1 to regrid_method: 'CONSERVE', providing better flexibility for regridding configuration.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Replace all instances of the deprecated
collection.conservativesyntax with the more flexiblecollection.regrid_methodsyntax 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_MONOTONICwhich are only throughregrid_method.NOTE: The
regrid_methodsyntax came in MAPL 2.22 (2022-06-24) so we are safe.