_images/leogps_logo.png

Installation

First, find the LEOGPS GitHub repository in this GitHub link, and download it. Alternatively, if you have Git installed, you can open Command Prompt or your Git Bash, enter the directory of your choice, and type:

git clone https://github.com/sammmlow/LEOGPS.git

Second, you should do a pip install in your terminal of Martin Valgur’s Pythonic translation of Hatanaka (de)compression in Python as well as the ncompress library by running:

pip install hatanaka
pip install ncompress

The Hatanaka library in Python was kindly contributed by Martin Valgur in v1.1, and replaces the older “RNX2CRX” and “GZIP” Windows-only executables, making the (de)compression possible across all operating systems. The Ncompress library is a fast, simple LZW file compressor.

You may wish to do further pip installs for any additional package dependencies listed below.

Note

Standard Python packages (you should have them already): copy, datetime, decimal, math, os, pathlib, tkinter, urllib, warnings

Note

Additional package dependencies: numpy, matplotlib, hatanaka, PIL (pillow), ncompress

Next, we will run and explain the setup behind the default native scenario packaged in LEOGPS - a formation flying scenario at ~200km in-track baseline of the GRACE mission.