Skip to main content

Radar Analysis Graphical Utility

Authors: Brandon Tober and Michael Christoffersen

DOI

What is RAGU?

RAGU is a user-interface radar interpretation software written in Python 3 and released under the GNU General Public License v3. RAGU was originally developed to ingest and interpret NASA Operation IceBridge airborne radar sounding data, but has been expanded for use with other sounder and ground penetrating radar datasets. While RAGU is primarily an interpretation software, minimal radar processing tools are included with the software.

Dataset Capabilities:

RAGU was originally developed to work with NASA's Operation IceBridge Alaska radar sounding data. The dataset capabilities have since been expanded to include the following:

  • NASA OIB-AK
  • Groundhog (UArizona/UAF)
  • CReSIS (Radar Depth Sounder & Snow Radar)
  • SHARAD (USRDR, USGEOM, US clutter sims)
  • MARSIS (JPL multilook products)
  • KAGUYA (SELENE) Lunar Radar Sounder (LRS)
  • RIMFAX
  • GSSI
  • pulseEKKO

Have another radar dataset you'd like to be able to use RAGU to interpret? Please feel free to send the necessary python code to read in the data and we can incorporate an ingester. Or, feel free to collaborate and create an ingester for reading your data type with RAGU. Follow the ingester template: - ingest/ingest_template.py

Package overview

  • config.py script used to create the RAGU configuration file
  • bin/main.py is run to start the RAGU app
  • ui/gui.py handles the graphical user-interface and sets up the app
  • ui/impick.py handles profile-view, radargram image picking
  • ui/wvpick.py handles waveform-view picking optimization
  • ui/basemap.py handles the basemap
  • ui/notepad.py handles the notepad
  • radar/ contains radar data object information
  • radar/processing.py performs simple user-specified radar data processing
  • ingest/ hadnles radar data ingest
  • nav/navparse.py is used to parse radar gps data into the appropriate format and perform any necessary coordinate transformations
  • nav/gps.py is used to read and parse raw gps nmea strings into the appropriate format
  • tools/utils.py contains a set of utility functions utilized by the app
  • tools/constants.py contains global constants

Outputs

Pick files:

  1. Comma-Separated Value (.csv)

  2. Geopackage (.gpkg)

    For CSV and Geopackage files, see the format file in for per trace export attribute information.

Figure:

A figure each may also be exported for the uninterpreted radar profile, the accompanying clutter simulation, and the interpreted radar profile. Example over Malaspina Glacier, AK:


Processing Script:

A file log/processing script may also be exported to keep track of and easily repeat any data processing steps. Example processing script:

### RAGU processing log ###
from ragu import ingest

igst = ingest.ingest("/home/user/data/ARES/20140524-200130.h5")
rdata = igst.read("","+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","earth")
rdata.lowpass(order=5, cf=1250000.0)
rdata.tpowGain(power=1.2)

Running RAGU

System Requirements

Supported Operating Systems:

  • Linux (tested on Ubuntu 18.04, 20.04)
  • Windows (tested on Windows 10)
  • Mac (tested on Catalina)

Dependencies

  • tkinter
  • matplotlib
  • numpy
  • scipy
  • pandas
  • geopandas
  • pyproj
  • rasterio
  • h5py

Setup

Note: Prior to installation, one may first wish to create an anaconda environment from which to install ragu.

  1. Install ragu via PyPi
pip install ragu
  1. To run ragu, call ragu from the command line to initialize the GUI:
ragu

The first time ragu is run on your machine, a configuration file will be created at ~/RAGU/config.ini. This configuration file can be edited to set appropriate data paths, data coordinate reference system, and output preferences. Path variables may be left blank, but must remain uncommented. An example ragu configuration file can be found here.

Note, ragu accepts several optional command line arguments:

  • -configPath : ragu configuration file path, (default is ~/RAGU/config.ini)
  • -datFile : data file path to load when ragu is initialized (default is None)
  • -datPath : path to set as directory from which to load radar datafiles (default from ~/RAGU/config.ini)

To upgrade ragu via pypi:

pip install ragu --upgrade

Development

If you are interested in helping to develop RAGU, we recommend forking RAGU's github repository and then cloning the github repository onto your local machine.

Note, if RAGU was already installed via PyPI, first uninstall:

pip uninstall ragu

You can then use pip to install your locally cloned fork of RAGU in 'editable' mode to easily facilitate development like so:

pip install -e /path/to/your/RAGU/clone

Notes

Several auxiliary tools which RAGU users may find useful can be found at radar_tools. This includes scripts to merge the navigation data from numerous radar datafiles (ragu_nav_merge.py), to merge numerous RAGU pick files (ragu_picks_combine.py ), and a Jupyter Notebook to analyze radar crossover disagreement (ragu_pick_crossover.ipynb). Additional radar processing tools which users may find useful can be found in @mchristoffersen's Groundhog repository.

Publications

A list of publications that cite RAGU:

  • Tober, B. S., et al. "Thickness of Ruth Glacier, Alaska, and depth of its Great Gorge from ice-penetrating radar and mass conservation." Journal of Glaciology (2024): 1-10. doi:10.1017/jog.2024.53.
  • Shoemaker, E. S., et al. "Mapping ice buried by the 1875 and 1961 tephra of Askja Volcano, Northern Iceland using ground‐penetrating radar: Implications for Askja Caldera as a geophysical testbed for in situ resource utilization." Journal of Geophysical Research: Planets 129.4 (2024): e2023JE007834. doi:10.1029/2023JE007834.
  • Tober, B. S., et al. "Comprehensive radar mapping of Malaspina Glacier (Sít'Tlein), Alaska—The world's largest piedmont glacier—Reveals potential for instability." Journal of Geophysical Research: Earth Surface 128.3 (2023): e2022JF006898. doi:10.1029/2022JF006898.
  • Shoemaker, E. S., et al. "New insights into subsurface stratigraphy northwest of Ascraeus Mons, Mars, using the SHARAD and MARSIS radar sounders." Journal of Geophysical Research: Planets 127.6 (2022): e2022JE007210. doi:10.1029/2022JE007210.
  • Loso, M. G., et al. "Quo vadis, Alsek? Climate-driven glacier retreat may change the course of a major river outlet in southern Alaska." Geomorphology 384 (2021): 107701. doi:10.1016/j.geomorph.2021.107701.

Metadata

Release files for ragu 0.1.56

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ragu 0.1.56
File Size Uploaded
ragu-0.1.56.tar.gz 7.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ragu 0.1.56
File Interpreter ABI Platform
ragu-0.1.56-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 MB

Release files / ragu-0.1.56.tar.gz

Download URL ragu-0.1.56.tar.gz
Size 7.1 MB
Tags Source
SHA-256 checksum
How to use checksums
fdaef714ed3ab6aa7660168a2caa4d0e9033f3c23544539128bbcef1a2e1f4ba
BLAKE2b-256 checksum
How to use checksums
11b1328578e174788298d94ce066cd7928204d4483a784ef2f7008b3c079e05e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / ragu-0.1.56-py3-none-any.whl

Download URL ragu-0.1.56-py3-none-any.whl
Size 7.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
73c844f289851312499c98d3ccf05f742c7e7d50579f44a20df51b7a13fdacb5
BLAKE2b-256 checksum
How to use checksums
5913cf6af18216eb655ebaf7b8799fbb69b47da539d3b51da30441d0f16b2e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page