Skip to content

Migrate packed-time calls away from legacy MAPL umbrella#419

Merged
tclune merged 3 commits into
release/MAPL-v3from
feature/417-packed-time-migration
May 9, 2026
Merged

Migrate packed-time calls away from legacy MAPL umbrella#419
tclune merged 3 commits into
release/MAPL-v3from
feature/417-packed-time-migration

Conversation

@tclune
Copy link
Copy Markdown
Contributor

@tclune tclune commented May 8, 2026

Summary

  • DU2G_GridCompMod.F90, SU2G_GridCompMod.F90, CA2G_GridCompMod.F90: replace MAPL_PackTime calls with MAPL_PackedDateCreate/MAPL_PackedTimeCreate from MAPL_PackedTimeMod
  • ReplenishAlarm.F90: remove MAPL_UnpackTime; inline HHMMSS arithmetic directly into ESMF_TimeIntervalSet

Part of GEOS-ESM/MAPL#4811 — enables deletion of legacy packed-time symbols from Base_Base.

Closes #417

tclune added 2 commits May 8, 2026 19:02
…GOCART #417)

Replace legacy subroutine-form MAPL_PackTime calls in DU2G, SU2G, and
CA2G gridded components with the new function-form constructors from
MAPL_PackedTimeMod (MAPL #4811 bridge module):
  call MAPL_PackTime(nymd, yy, mm, dd) -> nymd = MAPL_PackedDateCreate(yy, mm, dd)
  call MAPL_PackTime(nhms, hh, mn, ss) -> nhms = MAPL_PackedTimeCreate(hh, mn, ss)
Inline HHMMSS packed-integer arithmetic directly into ESMF_TimeIntervalSet,
eliminating the dependency on the legacy MAPL2 MAPL_UnpackTime subroutine.
@tclune tclune added 0 diff The changes in this pull request have verified to be zero-diff with the target branch. MAPL3 labels May 9, 2026
@tclune tclune merged commit d078cd5 into release/MAPL-v3 May 9, 2026
27 of 29 checks passed
@tclune tclune deleted the feature/417-packed-time-migration branch May 9, 2026 11:23
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. MAPL3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant