Closed scottstanie closed 1 year ago
LGTM. I am assuming that it is sufficient for the downstream workflows to save digits
just to check on that... I think there never are 9 digits of precision in the Sentinel orbits:
(mapping) staniewi:s1-reader$ grep "\<UTC\>" tests/data/orbits/S1A_OPER_AUX_POEORB_OPOD_20210318T120818_V20200510T225942_20200512T005942.EOF
<UTC>UTC=2020-05-10T22:59:42.000000</UTC>
<UTC>UTC=2020-05-10T22:59:52.000000</UTC>
<UTC>UTC=2020-05-10T23:00:02.000000</UTC>
<UTC>UTC=2020-05-10T23:00:12.000000</UTC>
<UTC>UTC=2020-05-10T23:00:22.000000</UTC>
<UTC>UTC=2020-05-10T23:00:32.000000</UTC>
...
the current orbit description says
but isce's
isoformat
gives 9 digits, so it failsdatetime.datetime.fromisoformat
but would also fail if a user looked at the description to parse it