[AstroPy] negative years in astropy

Markos Skoulatos skoulatos at gmail.com
Sun Feb 18 13:03:00 EST 2018


Hello everyone,

I need to read in data of eclipses which date from -2000 to 3000 (5
millennia).
My problem is how to read in negative dates in astropy.
For positive dates, it works like this for example:
t = Time('2020-01-05T03:39:36')
print t.plot_date
print t.iso
I would need to input dates with yyyy mm dd time, such as for example:
-0197 Aug 07  06:20:16
Any ideas how to do this?
I am using python 2.0

cheers,
Markos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20180218/9ffd731a/attachment.html>


More information about the AstroPy mailing list