gemini-hlsw / gem

prototype postgres back-end for ocs
Other
15 stars 5 forks source link

Ephemeris Commands #233

Closed swalker2m closed 6 years ago

swalker2m commented 6 years ago

Provides a few simple commands for working with ephemerides. It isn't clear which commands, if any, will be needed but this gives us a starting point. An example session:

Welcome, local time is Mon Feb 26 10:45:59 CLST 2018.
root@gem> eph-report -s GS MajorBody_505
Looking up MajorBody(505) @ GS ...

MajorBody(505) @ GS
  Last Update.......: 
  Last Update Check.: 
  Solution Reference: 
  Available Range...: 

root@gem> eph-update -s GS MajorBody_505
Updating MajorBody(505) @ GS ...

MajorBody(505) @ GS
  Last Update.......: Mon, 26 Feb 2018 13:46:26 GMT
  Last Update Check.: Mon, 26 Feb 2018 13:46:26 GMT
  Solution Reference: Jun 17, 2016
  Available Range...: Sun, 31 Dec 2017 17:00:00 GMT - Fri, 31 Aug 2018 17:00:00 GMT

root@gem> eph-report -s GS MajorBody_505
Looking up MajorBody(505) @ GS ...

MajorBody(505) @ GS
  Last Update.......: Mon, 26 Feb 2018 13:46:26 GMT
  Last Update Check.: Mon, 26 Feb 2018 13:46:26 GMT
  Solution Reference: Jun 17, 2016
  Available Range...: Sun, 31 Dec 2017 17:00:00 GMT - Fri, 31 Aug 2018 17:00:00 GMT

root@gem> eph-export -s GS -d /Users/swalker MajorBody_505
Exporting MajorBody(505) @ GS ... /Users/swalker/MajorBody_505.eph