Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: DART base date for calendars #826

Open
hkershaw-brown opened this issue Feb 24, 2025 · 2 comments · May be fixed by #836
Open

doc: DART base date for calendars #826

hkershaw-brown opened this issue Feb 24, 2025 · 2 comments · May be fixed by #836
Assignees
Labels
Documentation Improvements or additions to documentation

Comments

@hkershaw-brown
Copy link
Member

The time manager mod documentation does not base dates.
"Time intervals are stored and defined in terms of integer number of days and integer seconds." from what?
https://docs.dart.ucar.edu/en/latest/assimilation_code/modules/utilities/time_manager_mod.html

@hkershaw-brown
Copy link
Member Author

Default is NO_CALENDAR

@hkershaw-brown hkershaw-brown added the Documentation Improvements or additions to documentation label Mar 5, 2025
@hkershaw-brown
Copy link
Member Author

hkershaw-brown commented Mar 5, 2025

! List of available calendar types
public :: THIRTY_DAY_MONTHS, JULIAN, GREGORIAN, NOLEAP, NO_CALENDAR, &
GREGORIAN_MARS, SOLAR_MARS

Base dates from the code:

time = set_time(0, 0)
call get_date(time, year, month, day, hour, minute, second)
Calendar base year base month base day base hour base minute base second
THIRTY_DAY_MONTHS 1 1 1 0 0 0
JULIAN 1 1 1 0 0 0
GREGORIAN 1601 1 1 0 0 0
NOLEAP 1 1 1 0 0 0
NO_CALENDAR NA NA NA NA NA NA 🦇 👨
GREGORIAN_MARS 1 1 1 0 0 0
SOLAR_MARS 1 1 1 0 0 0

@hkershaw-brown hkershaw-brown self-assigned this Mar 6, 2025
hkershaw-brown added a commit that referenced this issue Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant