Started playing around with #Streamlit again. We had to prepare some observations recently and I was quite surprised at the lack of a good online tool for doing the simple stuff : checking in a source is visible from a specific location at a given time, whether the Sun is also visible, when exactly it rises at sets, etc. Of course there absolutely are tools to do all this but I find most of them a bit clunky, either too limited or too complex, or relying on fancy graphical plots when I just want a simple number.

Here then is my attempt to remedy that. Comes with some preset telescopes/locations with their geographical coordinates and viewing angle ranges (where I could find them), or you can enter a custom location. You can specify the time and date when the observations start and end using the normal sort of widgets, to the nearest minute if you really want to. You can also give it custom acceptable viewing angles and the maximum angular distance from the Sun. It prints out the source and Sun altitude to the GUI coloured according to whether it’s possible to view it or not, in 15 minute increments, with an option at the end to download an ASCII file containing the same information but in 1 minute increments.

Has NOT been thoroughly tested, but it’s giving me approximately correct results for known objects and locations. Use at own risk !

#Astronomy
#Python

https://icanseemysourcefromherepy.streamlit.app/

There are no comments yet.