worlickwerx / sbig-util

Linux utility for Santa Barbara Instrument Group cameras for astronomy
GNU General Public License v3.0
5 stars 2 forks source link

need a way of obtaining SITEELEV, SITELAT, SITELONG and insert in FITS file #10

Open garlick opened 9 years ago

garlick commented 9 years ago

At the beginning of an observing session, run say sbig-gps to get latitude, longitude, elevation values from GPS instead of hardwiring in the config file. Maybe write this to another config file like $HOME/.sbig/gpsfix that is invalid after its modification time is more than a day old?

Also provide an option for stepping the system time as root to match GPS time (requires root).

It would likely be unstable to depend on there being a live GPS fix during imaging to get accurate times for example, but for systems that have poor hwclocks (or non-existent in the case of raspberry pi or beagle bone) and maybe no internet access for NTP, it would be useful to at least set the system time when getting ready to image.

garlick commented 6 years ago

Or config file could specify an external script/program to grab this info. It might be better for example to grab from the telescope.