Giter Site home page Giter Site logo

kristinemlarson / gpssnrpy Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 8.0 369 KB

This repository extracts SNR data from GPS RINEX files and computes elevation and azimuth angles from the GPS navigation file. There are also various utilities (for downloading files).

License: GNU General Public License v3.0

Python 81.69% Fortran 18.31%
gps rinex snr fortran gnss-ir

gpssnrpy's Introduction

gpssnrpy

Table of Contents

  1. Installation
  2. gpssnr usage
  3. RINEX downloader
  4. Orbit downloader
  5. Future work and acknowledgements

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

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!

gpssnrpy's People

Contributors

kristinemlarson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.