skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Extract GPS time from skymap #89

Closed robertdstein closed 1 year ago

robertdstein commented 1 year ago

The event time is usually available within a skymap. Right now gwemopt requires a user to pass this info on the command line. Better behaviour would be to at least try extracting the info from the skymap, and then raise an error if not available.

As a related issue, it might be good to have default plans which track the actual time, rather than the current time. At least I imagine people are more likely to want to replan for an older skymap, rather than generate plans which are in the past.