CSSRlib - Toolkit for PPP-RTK/RTK in Python using Compact SSR
What is CSSRlib?
CSSRlib is a open toolkit in Python for high accuracy GNSS positioning. It supports SSR (State-Space Representation) based positioning for PPP (Precise Point Positioning) or PPP-RTK (Realtime Kinematic), while also supporting RTK. The goal of the CSSRlib toolkit is to provide an easy-to-understand open implementation to learn PPP/PPP-RTK positioning provided by satellite-based open PPP/PPP-RTK services such as QZSS CLAS, Galileo HAS, and BeiDou 3 PPP. It also supports ground based open service by IGS. The code is based on RTKlib.
It supports the following open format:
- The observation data and ephemeris in RINEX
- The PPP/PPP-RTK correction data in RTCM SSR, IGS SSR, Compact SSR, ...
- The precise orbit/clock data in SP3 format.
Click this button for a quick demo in Google Colab
Prerequisites
Additional python packages are required as prerequisites and can be installed via the following command
pip install -r requirements.txt
If the installation of cartopy fails, try installing libgeos++-dev first.
sudo apt-get install libgeos++-dev
NOTE: the module pysolid is used for the computation of solid Earth tides. It contains a hard-coded leap second table with an expiration date, which is set to the next possible injection date of a leap second at the time of the last update. The table is frequently updated by the package maintainers. The following warning is issed when the expiration date is exceeded:
Mild Warning -- time crossed leap second table boundaries. Boundary edge value used instead
If you encounter this warning when executing CSSRlib scripts, it can most likely be fixed by updating pysolid to the most recent version using
pip install -upgrade pysolid
Install
You can install the official version of CSSRlib using pip
pip install cssrlib
If you want to install the development version from this repository, first clone or download the sources and then run
pip install .
in the root directory, where the setup.cfg file is located.
Testing
Run orbit plot sample.
python test_eph.py
Run RTK sample.
python test_rtk.py
Other samples with dataset are also available in a separate repository cssrlib-data including:
- Galileo-HAS PPP (SIS/IDD) processing example
- BDS-PPP processing example
- QZSS MADOCA-PPP processing example
- QZSS CLAS PPP-RTK processing example
- IGS (SP3+BIAS) PPP-AR processing example
- PPP via SouthPAN (PVS) processing example
- JPL GDGPS (GPSHAS) processing example
- Binary message parser for Septentrio receiver (Mosaic/PolaRX5)
Metadata
Release files for cssrlib 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cssrlib-1.2.1.tar.gz | 353.1 kB | Without provenance | Details for cssrlib-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cssrlib-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for cssrlib-1.2.1-py3-none-any.whl |
Total release size: 719.6 kB
Release files / cssrlib-1.2.1.tar.gz
| Download URL | cssrlib-1.2.1.tar.gz |
|---|---|
| Size | 353.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62dcc6c8269bbe75d474dc88583227a311f9d446b26d28075bbb38633dde327d
|
|
BLAKE2b-256 checksum How to use checksums |
fe127ea1fd36cba491354115a980e97d3600b71607ea101fd65af7b9f6d9eb61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / cssrlib-1.2.1-py3-none-any.whl
| Download URL | cssrlib-1.2.1-py3-none-any.whl |
|---|---|
| Size | 366.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a8a7c283097e197e34fde44344fa7fe0f7ae319d07837acbad362d259cbb6cb
|
|
BLAKE2b-256 checksum How to use checksums |
ffd384348a5f44936c1c492d12a1ecd3c5f8728018c38ae12e30436d7c31f45d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for cssrlib 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.