Coder Social home page Coder Social logo

rsgpr's Introduction

rsgpr — Speeding up Ground Penetrating Radar (GPR) processing

The aim of rsgpr is to quickly and accurately process GPR data. In one command, most data can be processed in pre-set profiles or with custom filter settings, and batch modes allow for sequences of datasets to be processed with the same settings.

Thank you to the creators of RGPR from which the name and functionality where both inspired.

This is still an early WIP, and currently only works with Malå (.rd3) radar formats.

Possible meanings of the name

  • Really Simple GPR
  • rust GPR
  • rsgpr simplifies GPR

Installation

Requirements

  • cargo for installing rust projects
  • gdal bindings. For Debian or derivatives thereof, this means libgdal-dev.
  • proj bindings.

Using cargo, rsgpr can be installed from the repo (after installing the requirements):

cargo install --git https://github.com/erikmannerfelt/rsgpr.git

with nix, the flake can be used without worrying about the requirements above:

{
  inputs = {
    rsgpr.url = "github:erikmannerfelt/rsgpr";
  };
}

or in an ephemeral shell:

nix shell github:erikmannerfelt/rsgpr

Simple usage

See the help page of rsgpr for info on how to interact with the CLI:

rsgpr -h

To toggle useful information on a file, the -i or --info argument shows the metadata and a summary of the location data:

rsgpr -f DAT_001_A1.rd3 -i

Processing a file using the default processing profile:

rsgpr -f DAT_001_A1.rd3 --default

The output will be a NetCDF file with the same name but an .nc suffix. By default, the output is saved in the same directory as the input. For more control, the output directory and/or filename can be controlled with -o or --output.

To process multiple files in "batch mode", provide a "glob" pattern as the filename. Optionally, for many sequential files, the --merge argument allows merging multiple files into one.

rsgpr -f "data/*.rd3" --merge "10 min" --default -o output/

A rudimentary profile renderer is available with the -r argument. This will be saved in the same location as the output file as a JPG if another filename is not given.

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.