gpssnrpy
Table of Contents
The gpssnr python library (gpssnrpy) will allow python users easy access to RINEX translators currently only provided in Fortran - gpsSNR and gnssSNR. This first version is a port of gpsSNR. I have also included some utilities that I originally packaged with gnssrefl.
Installation
-
cd into gpssnrpy, set up a virtual environment and activate it.
-
pip install .
Usage of gpssnr
Inputs:
- RINEX v2.11 observation filename
- output filename
- RINEX v2.11 navigation filename
- SNR choice (99, 66, 88, 50) as defined at the gnssrefl website
Optional
- -dec decimation (seconds)
Sample usage:
- gpssnr rinexname outputname navname 99
I have provided a small obs file (and nav file) you can use to test the code:
- gpssnr p1011500.20o p1011500.snr auto1500.20n 99
Download RINEX files
-
download_rinex station year month day
-
download_rinex station year doy 0
The station name, station, must be four character and lower case. The default is RINEX version 2.11 and low-rate files. Please use -h to find out how to download high rate data or version 3.
Optional:
- archive
These are the currently supported archives: sopac, unavco, sonel, cddis, nz, ga, bkg, ngs, nrcan
You need to install CRX2RNX for true access to these RINEX files. It should be stored in a folder with the environment variable EXE
Download orbit files
- download_orbits src year month day
Sample usage:
-
download_orbits nav 2020 150 0 (for doy 150)
-
download_orbits nav 2020 12 31 (for December 31)
orbit sources (src) currently allowed (lowercase):
- nav : GPS broadcast, perfectly adequate for reflectometry.
- igs : IGS precise, GPS only
- igr : IGS rapid, GPS only
- jax : JAXA, GPS + Glonass, within a few days, very reliable
- gbm : GFZ Potsdam, multi-GNSS, not rapid
- grg: French group, GPS, Galileo and Glonass, not rapid
- wum : Wuhan, multi-GNSS, not rapid
Future work and acknowledgements
I am still working on this documentation. I will be adding instructions on how to use these as libraries.
Multi-GNSS capabilities, a la gnssSNR, will be added.
This capability will be added to gnssrefl.
Kristine M. Larson https://kristinelarson.net
Thank you to the developers of numpy for providing excellent documentation for f2py and raxod502 for his package management help!
Metadata
Release files for gpssnrpy 0.0.3
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 |
|---|---|---|---|---|
| gpssnrpy-0.0.3.tar.gz | 61.8 kB | Without provenance | Details for gpssnrpy-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpssnrpy-0.0.3-cp37-cp37m-macosx_10_15_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.15+ x86-64 | Details for gpssnrpy-0.0.3-cp37-cp37m-macosx_10_15_x86_64.whl |
Total release size: 169.4 kB
Release files / gpssnrpy-0.0.3.tar.gz
| Download URL | gpssnrpy-0.0.3.tar.gz |
|---|---|
| Size | 61.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e64e73c97b7a8e4c7076e83e9d6c54103788c7fa638cacc49168c1ba0c8fcf81
|
|
BLAKE2b-256 checksum How to use checksums |
37dd26195cd2e3c86bbceebbfeacd6aaaacaef5bb64af80bef39d810dd7955b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.7
|
Release files / gpssnrpy-0.0.3-cp37-cp37m-macosx_10_15_x86_64.whl
| Download URL | gpssnrpy-0.0.3-cp37-cp37m-macosx_10_15_x86_64.whl |
|---|---|
| Size | 107.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c41d78b0e43635a3fc5c0cb07754efd73a081f528161b6237996f234b09885f
|
|
BLAKE2b-256 checksum How to use checksums |
2b6a817e5124b26d7cce1332fcdc45d723c538cbc9caa7bc4323d9a6691cc576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.7
|
Security for gpssnrpy 0.0.3
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.