https://github.com/9helix/neo-autoscript
Tools for an automatized making of the scripts of the NEAs for the observations.
https://github.com/9helix/neo-autoscript
asteroids astronomy automatization observatory python3
Last synced: about 1 month ago
JSON representation
Tools for an automatized making of the scripts of the NEAs for the observations.
- Host: GitHub
- URL: https://github.com/9helix/neo-autoscript
- Owner: 9helix
- License: mit
- Created: 2021-09-03T16:08:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T10:45:37.000Z (over 2 years ago)
- Last Synced: 2025-01-30T15:49:10.904Z (3 months ago)
- Topics: asteroids, astronomy, automatization, observatory, python3
- Language: Python
- Homepage:
- Size: 6.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.python.org/)


# NEO-Autoscript
Collection of Python files for an automatized making of the scripts of the NEAs for the observations.
# Requirements
**Python 3.6 or newer**
Optional - **.NET Framework**
# Getting Started
## Interactable files
- **settings.exe;** configuring program settings and running other files
- **main.py;** making an observation-ready script
- **script_fetch.py;** fetcing data from MPC site- **map_fetch.py;** opening specific uncertainty map in the browser
## Instructions
In the `settings.exe` file you can configure the settings used in the program. Default values are already written. You can also edit `config.py` manually. It is in `src` folder, but don't edit/delete `config_backup.py` since it contains the default settings.
`script_fetch.py` is used to access the data on the MPC site. After it's done, the data will be written in the `{date}-raw.txt`.
`main.py` can automatically run the `script_fetch.py` if it detects that the `shared_var.py` file is empty or if the date in it doesn't match the current date. Then the `main.py` will process the data that `script_fetch.py` has written and output it into two files: `{date}-log.txt` (contains the asteroids for the script) and `{date}-excluded.txt` (contains the rest of the asteroids that didn't fit in the script). Also it will write all the asteroids sorted from the one that shows up earliest on the sky to the one that shows up latest to a file `{date}-time-sorted.txt`.
Also, `map_fetch.py` is used to open in a browser an uncertainty map of a desired object at the desired time, as long as the desired object and time are written in the `{date}-raw.txt`.
There will also be created `neocp.html` if you want to view the full list of asteroids with all their map links.
You can find all outputed files in the `output` folder, they are their furtherly sorted in subfolders by date.# Contact
If you have any questions, issues or possible improvement suggestions about this project, feel free to contact me.
Dino Gržinić - [email protected] - [@dinogrzinic](https://www.instagram.com/dinogrzinic/) - Helix#3958