Skip to content
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

Refactor DataSea/DataIce IS_FCST to OGCM_IS_FCST #910

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

mathomp4
Copy link
Member

@mathomp4 mathomp4 commented Feb 27, 2024

Testing by @sanAkel and @rtodling found that IS_FCST was a resource parameter in both the AGCM Grid Comp and in the DataSea and DataIce Grid Comps that was doing different things. In the DataSea and DataIce Grid Comps, it determined persistence of SST/ICE via MAPL_ReadForcing. But in the AGCM, it altered IAU handling (I think?).

Either way, there was no good way to set one without setting the other. So, for separability, we rename all the oceanic IS_FCST to be OGCM_IS_FCST. We keep the AGCM IS_FCST as it currently is named unless there is a desire to refactor it from @sdrabenh or others.

This PR has companion PRs:

Testing by @sanAkel and @rtodling found that `IS_FCST` was a resource parameter in both the AGCM Grid Comp and in the DataSea and DataIce Grid Comps that was doing different things. In the DataSea and DataIce Grid Comps, it determined persistence of SST/ICE via `MAPL_ReadForcing`. But in the AGCM, it altered IAU handling (I think?).

Either way, there was no good way to set one without setting the other. So, for separability, we rename all the oceanic `IS_FCST` to be `OGCM_IS_FCST`. We keep the AGCM `IS_FCST` as it currently is named unless there is a desire to refactor it from @sdrabenh or others.
@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Feb 27, 2024
@mathomp4 mathomp4 self-assigned this Feb 27, 2024
@mathomp4 mathomp4 requested a review from a team as a code owner February 27, 2024 16:55
@sdrabenh sdrabenh merged commit b5aea62 into develop Mar 1, 2024
13 checks passed
@sdrabenh sdrabenh deleted the feature/mathomp4/ogcm_is_fcst branch March 1, 2024 19:31
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.

4 participants