Skip to content

Commit

Permalink
Document behavior of double precision outputs in ESMF_TimeIntervalGet
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Dec 16, 2024
1 parent 45f0f7c commit c380efa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Infrastructure/TimeMgr/interface/ESMF_TimeInterval.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,10 @@ subroutine ESMF_TimeIntervalGetDur(timeinterval, keywordEnforcer, &
! {\tt days = 1}, {\tt seconds = 0},
! whereas {\tt ESMF\_TimeIntervalGet(s = seconds)} would return
! {\tt seconds = 86400}.
! However, double precision time units are not considered in this normalization:
! Double precision time units are still bound by units of a day or larger, but double
! precision time units of an hour or smaller neither bind nor are bound by other time
! units of an hour or smaller (either integer or double precision).
!
! For timeString, converts {\tt ESMF\_TimeInterval}'s value into
! partial ISO 8601 format PyYmMdDThHmMs[:n/d]S. See ~\cite{ISO} and
Expand Down Expand Up @@ -1313,6 +1317,10 @@ subroutine ESMF_TimeIntervalGetDurStart(timeinterval, startTimeIn, &
! {\tt days = 1}, {\tt seconds = 0},
! whereas {\tt ESMF\_TimeIntervalGet(s = seconds)} would return
! {\tt seconds = 86400}.
! However, double precision time units are not considered in this normalization:
! Double precision time units are still bound by units of a day or larger, but double
! precision time units of an hour or smaller neither bind nor are bound by other time
! units of an hour or smaller (either integer or double precision).
!
! For timeString, converts {\tt ESMF\_TimeInterval}'s value into
! partial ISO 8601 format PyYmMdDThHmMs[:n/d]S. See ~\cite{ISO} and
Expand Down Expand Up @@ -1548,6 +1556,10 @@ subroutine ESMF_TimeIntervalGetDurCal(timeinterval, calendarIn, &
! {\tt days = 1}, {\tt seconds = 0},
! whereas {\tt ESMF\_TimeIntervalGet(s = seconds)} would return
! {\tt seconds = 86400}.
! However, double precision time units are not considered in this normalization:
! Double precision time units are still bound by units of a day or larger, but double
! precision time units of an hour or smaller neither bind nor are bound by other time
! units of an hour or smaller (either integer or double precision).
!
! For timeString, converts {\tt ESMF\_TimeInterval}'s value into
! partial ISO 8601 format PyYmMdDThHmMs[:n/d]S. See ~\cite{ISO} and
Expand Down Expand Up @@ -1785,6 +1797,10 @@ subroutine ESMF_TimeIntervalGetDurCalTyp(timeinterval, calkindflagIn, &
! {\tt days = 1}, {\tt seconds = 0},
! whereas {\tt ESMF\_TimeIntervalGet(s = seconds)} would return
! {\tt seconds = 86400}.
! However, double precision time units are not considered in this normalization:
! Double precision time units are still bound by units of a day or larger, but double
! precision time units of an hour or smaller neither bind nor are bound by other time
! units of an hour or smaller (either integer or double precision).
!
! For timeString, converts {\tt ESMF\_TimeInterval}'s value into
! partial ISO 8601 format PyYmMdDThHmMs[:n/d]S. See ~\cite{ISO} and
Expand Down

0 comments on commit c380efa

Please sign in to comment.