Repository navigation
Honor coupled calendars during initialization and date arithmetic - #14
Open
erinethomas wants to merge 1 commit into
Open
erinethomas wants to merge 1 commit into
erinethomas wants to merge 1 commit into
Conversation
Accept an optional host calendar override immediately after reading the model grid and before initialization date arithmetic. Map NO_LEAP to 365_day and GREGORIAN to standard, rejecting unknown coupled calendars. Use proleptic Gregorian conversion for standard dates, including dates before the historical Gregorian transition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is to introduce compatibility with the complementary E3SM PR E3SM-Project/E3SM#8968
Propagate Gregorian-aware orbital context and scheduled solar timestamps through both drivers and affected components.
Derive orbital-year defaults from compset epochs, preserve explicit overrides, and require settings for ambiguous epochs.
Preserve the fixed-year day-80.5 equinox reference with Gregorian year lengths.
Enable equation-of-time corrections by default without changing model time or seasonal orbital phase.
Record and validate the EOT convention in driver restarts.
Update Icepack and WW3 revisions for their coupled interfaces.
Document configuration, scientific impacts, and intended CMIP compatibility.
In WW3, this adds an optional coupled-calendar argument to initialization, applies the calendar after reading grid configuration and before initialization time arithmetic, maps NO_LEAP to 365_day and GREGORIAN to standard, and uses proleptic Gregorian date conversion for the standard calendar. Focused checks of the full time module passed for 108 date round trips and nine leap-year boundaries using infrastructure stubs. Full coupled-model validation remains pending.
Accept an optional host calendar override immediately after reading the model grid and before initialization date arithmetic. Map NO_LEAP to 365_day and GREGORIAN to standard, rejecting unknown coupled calendars.
Pull Request Summary
Description
Issue(s) addressed
Commit Message
Check list
Testing