Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_association
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Team:Alert Production
-
Urgent?:No
Description
Remove the custom coordinate conversion code in EphemerisQuery and replace it with equivalent code from astropy.
Additionally, test if astropy.Table can read the data returned by SkyBot.
Custom coordinate conversion in skyBotEphemerisQuery (formerly known as EphemerisQuery) is now substituted with astropy.SkyCoord. SkyBot returns data in votable format that should be readable with astropy.Table in principle. Tried that but ran into a TypeError: expected bytes, str found. In any case the votable xml file would be larger than the text file that is currently returned by SkyBot and would take longer to parse. Suggest we stay with pandas.read_csv for now. Chris Morrison [X] : could you please give it a trial run to see if everything works as it should?