https://github.com/markmac99/astrotargets
Code to create EQTOUR and Google Calendar entries for monthly targets
https://github.com/markmac99/astrotargets
Last synced: 10 months ago
JSON representation
Code to create EQTOUR and Google Calendar entries for monthly targets
- Host: GitHub
- URL: https://github.com/markmac99/astrotargets
- Owner: markmac99
- License: gpl-3.0
- Created: 2025-01-08T01:09:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T16:07:22.000Z (about 1 year ago)
- Last Synced: 2025-04-09T21:57:14.815Z (10 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AstroTargets
============
This repo contains a python script to create EQTOUR and Google Calendar files for monthly lists of astro targets.
To use the script:
Using conda or virtualenv, create a python virtualenv named `astrotargets`, activate it and install the `pyongc`, `astroquery` and `astropy` python libraries listed in `requirements.txt`
Create a text file containing a list of object names. The names can be Messier, IC, NGC Caldwell, HCG, PCG, Abell or common names such as Algol, Rho Ophiuchi etc. For example you might create a file `galaxies.txt` containing a list of interesting galaxies:
``` bash
M81
M101
M31
NGC2749
Abell 30
Stephan's quintet
HCG 10
```
In a cmd, powershell or terminal window, activate the python virtualenv and run the script:
```bash
python ./getTargetDets.py galaxies.txt 20240101 20240130
```
The dates are optional, but if you specify these, then an `ical` compatible file will be created as well as an EQTOUR file.
If you specify an object that can't be identified by the programme, it will emit a warning and skip over that row. You can identify the problem row by reading the error message. Often its just a spelling mistake or missing apostrophe.
## output Files
Two files can be created, one ending in `_tour.lst` and one ending in `.ics`. For example:
* `galaxies_tour.lst` is an EQTOUR compatible listing file you can copy to your EQTOUR folder and use to drive your EQMOD compatible mount.
* `galaxies_cal.ics` optionally created only if start/end dates are specified. This is an icalendar file suitable for import into Google Calendar or other calendar apps.
This repository contains a number of examples.