Skip to content

Migrate AdvCore_GridCompMod to MAPL3 APIs (#363)#364

Closed
tclune wants to merge 2 commits intorelease/MAPL-v3from
feature/363-migrate-advcore-to-mapl3
Closed

Migrate AdvCore_GridCompMod to MAPL3 APIs (#363)#364
tclune wants to merge 2 commits intorelease/MAPL-v3from
feature/363-migrate-advcore-to-mapl3

Conversation

@tclune
Copy link
Copy Markdown
Collaborator

@tclune tclune commented May 5, 2026

Summary

  • Fully migrates AdvCore_GridCompMod.F90 from MAPL2 to MAPL3, removing all use MAPL2 dependencies
  • Updates AdvCore_StateSpecs.rc to ACG v3 schema and enables ACG v3 in CMakeLists.txt
  • Removes four dead source files

MAPL2 → MAPL3 API changes

MAPL2 MAPL3
MAPL_GenericSetServices/Initialize/Finalize removed (no-ops)
MAPL_GetPointer MAPL_StateGetPointer
MAPL_AddImportSpec/AddExportSpec MAPL_GridCompAddSpec
MAPL_GetObjectFromGC + MAPL_Get MAPL_GridCompGet + MAPL_GridGet
MAPL_GridCreate MAPL_GridCompSetGeometry (moved to SetServices)
MAPL_FieldBundleAdd ESMF_FieldBundleAdd([field])
MAPL_TimerAdd/On/Off MAPL_GridCompTimerStart/Stop
MAPL_GetResource MAPL_GridCompGetResource

All MAPL3 symbols accessed via use MAPL umbrella only.

Files removed

  • CreateInterpWeights.F90 (dead code)
  • CreateInterpWeights_GridCompMod.F90 (dead code)
  • Cube2LatLon.F90 (dead code)
  • LatLon2Cube.F90 (dead code)

Dependencies

Requires GEOS-ESM/MAPL#4772 to be merged first.

Closes #363

@tclune tclune requested review from a team as code owners May 5, 2026 00:26
@tclune tclune added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label May 5, 2026
@tclune tclune force-pushed the feature/363-migrate-advcore-to-mapl3 branch from 4d15710 to 6502df9 Compare May 5, 2026 13:06
@tclune
Copy link
Copy Markdown
Collaborator Author

tclune commented May 5, 2026

Changes applied directly to release/MAPL-v3.

@tclune tclune closed this May 5, 2026
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