tlpipe.utils.date_util.get_ephdate¶
-
tlpipe.utils.date_util.
get_ephdate
(local_time, tzone='UTC+08h')[source]¶ Convert local_time to ephem utc date.
Parameters: - local_time (string, python date or datetime object, etc.) – Local time that can be passed to ephem.Date function. Refer to http://rhodesmill.org/pyephem/date.html
- tzone (string, optional) – Time zone in format ‘UTC[+/-]xxh’. Defaut: UTC+08h.
Returns: utc_time – A float number representation of a UTC PyEphem date.
Return type: See also
get_juldate