GOTO-OBS / gtecs-alert

GOTO Telescope Control System: code for VOEvent alert processing
3 stars 2 forks source link

Save downloaded skymaps? #51

Closed martinjohndyer closed 8 months ago

martinjohndyer commented 3 years ago

Since the issue raised in #36 we now force the download of the skymap for each event, but we actually don't store them anywhere (they will go to a temporary location based on astropy.utils.data.download_file). Perhaps it would be useful to download and store the skymaps for future reference, for instance #37 could use that.

Cross ref to https://github.com/GOTO-OBS/goto-obsdb/issues/53, which includes suggestions for storing event details in the ObsDB. Based on today's technicon with the file transfer from La Palma to Warwick we could store a hash of the skymap in the database for a quick lookup to see if the file has changed for #37, but I'd still say keeping the skymaps stored somewhere would be handy (actually we also store raw VOEvent XMLs already, which is arguably less useful).

martinjohndyer commented 8 months ago

Skymaps are saved in the alert database as of #71.