Giter VIP home page Giter VIP logo

hamdyaea / amsatorg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dms-codes/amsatorg

0.0 1.0 0.0 6 KB

Satellite Tracking Script This Python script allows you to retrieve real-time information about various amateur radio satellites. It provides two main functions: GetStatus(satname): This function retrieves and displays the status of a satellite, including recent reports, callsigns

Home Page: https://github.com/dms-codes/amsatorg

Python 100.00%

amsatorg's Introduction

Satellite Tracking Script

This Python script allows you to retrieve real-time information about various amateur radio satellites. It provides two main functions:

  1. GetStatus(satname): This function retrieves and displays the status of a satellite, including recent reports, callsigns, and grid squares. It uses the AMSAT API to fetch this information.

  2. GetPasses(grid, satname): This function retrieves and displays the next passes of a satellite over a specific grid location. It provides information such as pass date, time, duration, azimuth of acquisition of signal (AOS), maximum elevation, azimuth of maximum elevation, and azimuth of loss of signal (LOS).

Usage

To use this script, you need to have Python installed on your system. You can run the script by executing the following commands in your terminal:

  1. Install the required libraries (if not already installed):
pip install requests
  1. Run the script with the following command:
python satellite_tracking.py

Make sure to modify the grid and sat_names variables within the script to match your desired grid location and list of satellite names for tracking. By default, the script is configured to track the following satellites:

  • AISAT-1
  • CubeBel-1
  • CUTE-1
  • LilacSat-2
  • FS-3

You can customize the list of satellites by updating the sat_names variable.

Examples

Here are some examples of how to use the script:

# Retrieve status information for a satellite (e.g., IO-86)
status_info = GetStatus("IO-86")
print(status_info)

# Retrieve upcoming passes for a satellite (e.g., IO-86) over a specific grid (e.g., OI33)
pass_info = GetPasses("OI33", "IO-86")
print(pass_info)

# Retrieve the first upcoming pass for a satellite (e.g., IO-86) over a specific grid (e.g., OI33)
first_pass_info = Get1stPass("OI33", "IO-86")
print(first_pass_info)

# Retrieve the first upcoming passes for a list of satellites (e.g., sat_names) over a specific grid (e.g., OI33)
GetAllSat1stPass("OI33", sat_names)

Please note that you need an internet connection to fetch real-time satellite information from the AMSAT API.

Dependencies

This script relies on the following Python library:

  • requests: This library is used to make HTTP requests to the AMSAT API for retrieving satellite information. Install it using the pip command as mentioned above.

Disclaimer

This script is provided as-is and may be subject to changes in the AMSAT API or other external factors. Use it responsibly and consider any usage restrictions or terms of use imposed by the AMSAT API provider.

Feel free to customize and extend the script to suit your specific needs or integrate it into other projects as necessary.

amsatorg's People

Contributors

dms-codes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.