Coordinates model - Working draft.

Steve Allen sla at ucolick.org
Sat Jan 12 20:32:53 CET 2019


On Sat 2019-01-12T13:48:58+0000 Roy Williams hath writ:
> The time of LIGO-Virgo events is reported in ISO8601, like this:
>
> "DATE-OBS": "2017-08-17T12:41:04.429237"
>
> Python is pretty happy about ISO8601 (see below).

If your machine knows that local timezone is equivalent to UTC, which
I believe it is during the winter, then the Python routines will take
this string without zone indicator as UTC.

Naively(*) my mileage would vary at any time of year, and yours
should vary during the summer.

(*) In my code I take pains to ensure that when I am using
off-the-shelf date parsing code I have that thread operate
in an environment which I have explicitly reset to UTC.

--
Steve Allen                    <sla at ucolick.org>              WGS-84 (GPS)
UCO/Lick Observatory--ISB 260  Natural Sciences II, Room 165  Lat  +36.99855
1156 High Street               Voice: +1 831 459 3046         Lng -122.06015
Santa Cruz, CA 95064           https://www.ucolick.org/~sla/  Hgt +250 m


More information about the dm mailing list