sbailey / surveyqa

DESI Survey QA Dashboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add sunrise/sunset and twilight times to nightly timeseries plots #28

Open sbailey opened 5 years ago

sbailey commented 5 years ago

Add the times of sunset, sunrise, and evening and morning 12 degree and 18 degree twilights to the nightly timeseries plots. Let's try these as light gray bars so that they are visible but visually don't dominate the plot.

Like #27, this information may be available via astropy, and compare with https://github.com/desihub/desisurvey/blob/master/py/desisurvey/ephem.py, but it may be more effective to pre-calculate and cache these numbers for every night for the next 10 years instead of re-calculating the same thing every time we run the code.