A package to handle the space targets catalogue query
Project description
Welcome to the SATQUERY package
This package is an archive of scientific routines for data processing related to the space targets catalogue query. Currently, operations on targets catalogue query include:
- targets catalogue query on shape info from DISCOS(Database and Information System Characterising Objects in Space) database;
- targets catalogue query on orbit info from CelesTrak database;
- targets catalogue query on both shape and orbit from a combined database;
How to Install
On Linux, macOS and Windows architectures, the binary wheels can be installed using pip by executing one of the following commands:
pip install satcatalogquery
pip install satcatalogquery --upgrade # to upgrade a pre-existing installation
How to use
Targets catalogue query from DISCOS
Query by NORAD_ID, where type of NORAD_ID can be int/str, list of int/str, or a text file named satno.txt in the following format:
# satno
52132
51454
37637
26758
44691
>>> from satcatalogquery import discos_query
>>> satcatog = discos_query(NORAD_ID=[52132,51454,37637,26758,44691])
>>> # satcatog = discos_query(NORAD_ID='satno.txt')
>>> satcatlog.df # output pandas dataframe
>>> satcatlog.save() # save dataframe to .csv file
>>> satcatlog.statistics1d(['RCSAvg'])
Query by mutiple options at the same time, such as COSPAR_ID, MASS, SHAPE, RCSAvg, etc.
>>> from satcatalogquery import discos_query
>>> satcatlog = discos_query(SHAPE=['Box','Pan'],RCSAvg=[0.5,100],DECAYED=FALSE)
Targets catalogue query from CelesTrak
>>> from satcatalogquery import celestrak_query
>>> satcatlog = celestrak_query(MEAN_ALT=[1000,2000],INCLINATION=[40,100],PAYLOAD=FALSE)
>>> satcatlog.statistics1d(['RCSAvg','LAUNCH_DATE'])
>>> satcatlog.statistics12d(['MEAN_ALT','ECC'])
Targets catalogue query from Combined database
>>> from satcatalogquery import targets_query
>>> satcatlog = targets_query(DECAYED=False,RCSAvg=[0.25,1e4],MEAN_ALT=[250,2000],TLE_STATUS=True,sort='RCSAvg')
>>> satcatlog.statistics1d(['RCSAvg','LAUNCH_DATE'])
>>> satcatlog.statistics12d(['MEAN_ALT','ECC'])
Download TLE from results of targets catalogue query
>>> satcatlog.get_tle()
Change log
-
0.1.1 — Jan 2, 2023
- The satcatalogquery package was released.
Reference
- DISCOSweb
- CeleTrak and [SATCAT Format Documentation](CelesTrak: SATCAT Format Documentation)
- Space-Track
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file satcatalogquery-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: satcatalogquery-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eefe2436de461597efebdfc5987cbee1cdaf63b79b0680773c2ef9b2720c1c9 |
|
MD5 | d1764938e4ca0f130e9d4daffdc4b0c9 |
|
BLAKE2b-256 | e8dd22e03b7d732737bbc87b3baff38ed773dd4bb734ba13a5c93b8131b2d0a5 |