Skip to content

Delete legacy MAPL_PackTime, MAPL_UnpackTime, MAPL_UnpackDateTime from Base_Base#4813

Closed
tclune wants to merge 8 commits into
release/MAPL-v3from
feature/4811-delete-legacy-packed-time
Closed

Delete legacy MAPL_PackTime, MAPL_UnpackTime, MAPL_UnpackDateTime from Base_Base#4813
tclune wants to merge 8 commits into
release/MAPL-v3from
feature/4811-delete-legacy-packed-time

Conversation

@tclune
Copy link
Copy Markdown
Collaborator

@tclune tclune commented May 8, 2026

Summary

Merge order

This PR must merge last, after all downstream consumers have migrated:

Closes #4811

tclune added 6 commits May 8, 2026 18:58
Provides MAPL_-prefixed named constructors for legacy integer-packed
date/time representations (YYYYMMDD / HHMMSS), with overloads accepting
either individual integer components or an ESMF_Time:
  MAPL_PackedDateCreate, MAPL_PackedTimeCreate,
  MAPL_PackedDateTimeCreate, MAPL_ESMFTimeFromPacked

All four symbols are re-exported via mapl_base3g (API.F90) with the
MAPL_ namespace prefix via use-rename.  pFUnit tests cover all overloads
and a round-trip through ESMFTimeFromPacked.
…4811)

Pure-integer subroutines for unpacking YYYYMMDD, HHMMSS, and integer(2)
packed datetimes into components. Re-exported via mapl_base3g (API.F90)
with the MAPL_ prefix.
Covers basic unpacking, edge cases (midnight, epoch date), and a
pack→unpack round-trip to verify the operations are proper inverses.
…Base

These legacy integer-packed-time subroutines are now provided by
MAPL_PackedTimeMod (base3g/PackedTime.F90). All compiled downstream
consumers have been migrated. Closes #4811.
@tclune tclune requested a review from a team as a code owner May 8, 2026 23:47
@github-actions github-actions Bot added the 📈 MAPL3 MAPL 3 Related label May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

This PR is being prevented from merging because you have not added one of our required labels: 0 diff, 0 diff trivial, 😲 Non 0 Diff, 🔧 Github Actions. Please add one so that the PR can be merged.

tclune added 2 commits May 8, 2026 20:10
…Base

These legacy integer-packed-time subroutines are now provided by
MAPL_PackedTimeMod (base3g/PackedTime.F90). All compiled downstream
consumers have been migrated (GOCART#419, GMAO_Shared#426, GEOSgcm_App#866).
Re-exports MAPL_UnpackTime/MAPL_UnpackDateTime via API.F90 now that
the ambiguity with Base_Base is resolved.

Closes #4811
@tclune tclune force-pushed the feature/4811-delete-legacy-packed-time branch from 091ea45 to ab4d98a Compare May 9, 2026 00:12
@tclune tclune added 0 Diff The changes in this pull request have verified to be zero-diff with the target branch. Changelog Skip Skips the Changelog Enforcer labels May 9, 2026
@tclune
Copy link
Copy Markdown
Collaborator Author

tclune commented May 9, 2026

Superseded by #4814 — rebased cleanly onto release/MAPL-v3 after #4812 merged

@tclune tclune closed this May 9, 2026
@tclune tclune deleted the feature/4811-delete-legacy-packed-time branch May 9, 2026 11:26
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. Changelog Skip Skips the Changelog Enforcer 📈 MAPL3 MAPL 3 Related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant