You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original MATLAB source code found at: https://github.com/nasa/CARA_Analysis_Tools/blob/master/two-dimension_Pc/Main/TransformationCode/TimeTransformations/getCcsdsTimeFormat.m
356
+
get_ccsds_time_format - process and outputs the format of the time string extracted from the CDM.
356
357
The CCSDS time format is required to be of the general form
357
358
yyyy-[mm-dd|ddd]THH:MM:SS[.F*][Z]
358
359
(1) The date and time fields are separated by a "T".
(6) If a fraction of seconds is provided, it is separated from the two
367
368
digit seconds by a period.
368
369
(7) The time string can end with an optional "Z" time zone indicator
369
-
370
+
370
371
Args:
371
-
- time)
372
+
- time_string(``str``): Original time string stored in CDM.
373
+
Returns:
374
+
- time_format(``str``): Outputs the format of the time string. It must be of the form yyyy-[mm-dd|ddd]THH:MM:SS[.F*][Z], otherwise it is invalid and a RuntimeError is raised.
0 commit comments