Skip to content

Migrate use MAPL2 to use MAPL (MAPL3) in GEOS_Shared (#420)#421

Merged
tclune merged 3 commits into
release/MAPL-v3from
feature/420-migrate-mapl2-to-mapl3
May 2, 2026
Merged

Migrate use MAPL2 to use MAPL (MAPL3) in GEOS_Shared (#420)#421
tclune merged 3 commits into
release/MAPL-v3from
feature/420-migrate-mapl2-to-mapl3

Conversation

@tclune
Copy link
Copy Markdown
Collaborator

@tclune tclune commented May 2, 2026

Summary

Closes #420.

Migrates use MAPL2 to use MAPL (MAPL3) in 7 files in GEOS_Shared/. Where symbols are not yet available in MAPL3, explicit use MAPL2, only: statements are used to document what still needs to migrate.

Changes per file

  • atmOceanIntLayer.F90: use MAPL, only: with explicit symbol list
  • condense.F90: use MAPL, only: (was already explicit)
  • surfacelayer.F90: use MAPL, only: with explicit symbol list
  • tropovars.F90: use MAPL, only: MAPL_UNDEF
  • G3_MPI_Util_Mod.F90: use MAPL, only: MAPL_PI
  • windfix.F90: use MAPL + use MAPL2, only: MAPL_GridGet (MAPL3 GridGet interface conflict with globalCellCountPerDim)
  • GEOS_TopoGet.F90: use MAPL + use MAPL2, only: MAPL_VarRead, GETFILE; cf argument changed from ESMF_Config to ESMF_HConfig; MAPL_MetaComp/MAPL_Set/MAPL_GetResource replaced with private helper subroutines using pure ESMF HConfig API

Notes

  • MAPL_VarRead and GETFILE remain on use MAPL2 pending migration of those utilities to MAPL3
  • MAPL_GridGet with globalCellCountPerDim= is not yet in MAPL3

@tclune tclune requested review from a team as code owners May 2, 2026 00:18
@tclune tclune added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label May 2, 2026
@tclune tclune merged commit fc7efae into release/MAPL-v3 May 2, 2026
11 of 14 checks passed
@tclune tclune deleted the feature/420-migrate-mapl2-to-mapl3 branch May 2, 2026 00:51
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