guynir42 / AstroRetriever

A package used for downloading and processing images from various astronomical surveys
Other
4 stars 2 forks source link

Add conversion from BJD to MJD #67

Open guynir42 opened 1 year ago

guynir42 commented 1 year ago

Some observatories (e.g., TESS) will give you the observation timestamp in Barycentric Julian Date (BJD), while we usually want to put all the timestamps into MJD. The astropy Time object for now accepts only MJD but there's a correction factor that needs to be added based on the position of Earth and moon, e.g., https://mail.python.org/pipermail/astropy/2014-April/002844.html

For now I think the time precision is not critical but if we need really precise timing we must address this.