Home

Awesome

<img src="https://github.com/btobers/RAGU/raw/master/src/ragu/recs/ragu_logo.png" height="200">

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:

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

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:

<p align="center"> <img src="https://github.com/btobers/RAGU/raw/master/src/ragu/recs/20190928-235534_compiled.jpg" height="500"><br> </p>

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:

Dependencies

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:

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:

  1. Loso, Michael G., Christopher F. Larsen, Brandon S. Tober, Michael Christoffersen, Mark Fahnestock, John W. Holt, and Martin Truffer. “Quo Vadis, Alsek? Climate-Driven Glacier Retreat May Change the Course of a Major River Outlet in Southern Alaska.” Geomorphology 384 (July 1, 2021): 107701. https://doi.org/10.1016/j.geomorph.2021.107701.
  2. Tober, B. S., J. W. Holt, M. S. Christoffersen, M. Truffer, C. F. Larsen, D. J. Brinkerhoff, and S. A. Mooneyham. “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, no. 3 (2023): e2022JF006898. https://doi.org/10.1029/2022JF006898.