Follow me on 𝕏!
I wrote a script in Python that checks if the provided RA/DEC will be above 40 degrees in altitude during astronomical darkness on the supplied date, tell you how long it is in this sweet spot, it's estimated peak altitude during this time, and the current moon phase information during this window. It's for helping me figure out if a target is worth it for my local conditions. Some values are hard coded into the script. You'll have to change these to your specific needs! Check it out! (Save the text file locally instead of opening it)
This supports a CSV target list (targets.csv) formatted as follows:
You can still run it without that, and be prompted for a single target. Below are examples of it running with the CSV list, and the end of that run showing a filename save, and then showing it
run without a CSV list. Note the error, "Skipping invalid CSV row: [ ]" was due to me having blank lines at the bottom of my CSV at the time of running it, and apparently I forgot to comment
out one of the debug outputs before taking the screenshots. Whoops!