Skip to content

Add time & time bnds#70

Open
joshuatorrance wants to merge 2 commits into66-clone-of-schemafrom
69-add-time-time_bnds
Open

Add time & time bnds#70
joshuatorrance wants to merge 2 commits into66-clone-of-schemafrom
69-add-time-time_bnds

Conversation

@joshuatorrance
Copy link
Collaborator

Add time and time_bnds to the schema.

The current proposal requires the bounds to be name time_bnds. If this is relaxed to allow time_bounds then some further updates will be required. Could just use a regex to allow the alternative but this might permit a mix of the two. Compelling them to match will require additional some extra chicanery.

Contributes to #68
Closes #69

@joshuatorrance joshuatorrance self-assigned this Mar 17, 2026
@joshuatorrance joshuatorrance changed the base branch from main to 66-clone-of-schema March 17, 2026 01:02
@joshuatorrance joshuatorrance changed the title 69 add time time bnds Add time & time bnds Mar 18, 2026
@joshuatorrance joshuatorrance marked this pull request as ready for review March 20, 2026 01:19
"const": "time_bnds"
},
"calendar": {
"const": "proleptic_gregorian"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The repeat year forcing ocean configurations use NO_LEAP

https://github.com/ACCESS-NRI/access-om3-configs/blob/dev-MC_25km_jra_ryf/nuopc.runconfig#L263

(Both OM2 and OM3).

Comment on lines +24 to +29
"description": "Units for time should be given as \"days since X\" where X is a date (yyyy-mm-dd) or a datetime (yyyy-mm-dd HH:MM or yyyy-mm-dd HH:MM:SS)",
"examples": [
"days since 0001-01-01 00:00:00",
"days since 0001-01-01 00:00",
"days since 1970-01-01",
"days since -5000-12-25"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure it is always days, even for sub-daily fields?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update model output schema to dictate the requirements for time & time_bnds

2 participants