Skip to content

Mikeynolan/radardecode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

190 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radardecode

This repository contains a portable and compact version of the radar processing software developed at the Arecibo Observatory. Our goals are threefold:

  1. to provide a self-contained version of the software that can be easily installed outside of Arecibo's computing environment. The code base is an order of magnitude smaller in size than the aosoft code base.
  2. to improve portability. We introduced modifications that allow compilation and execution on both Linux and MacOS.
  3. to encourage development and facilitate maintenance. This repository allows users to easily create branches and create pull requests for bug fixes or new features.

The code includes more than 7,000 lines of C code. Most of this code has been incorporated in the code that is used to process data from the NASA JPL radar backend.

Requirements

  • Compilation and execution require bash, csh, tcsh, make, gcc, Perl (for printbyteorder)

  • FFTW (version >= 3.3.8)

    • Install with your package manager:

      • RedHat/CentOS:
        (include file at /usr/include/, library at /usr/lib64/)
      sudo yum install fftw fftw-devel  
      • Debian/Ubuntu:
        (include file at /usr/include/, library at /usr/lib/)
      sudo apt-get install libfftw3-3 libfftw3-dev  
      • MacOS:
        (include file at /opt/local/include/, library at /opt/local/lib/)
      sudo port install fftw-3-single  
    • Install from source:

      wget http://www.fftw.org/fftw-3.3.8.tar.gz  
      tar xvf fftw-3.3.8.tar.gz  
      ./configure --enable-float  
      make; make install

Installation procedure

  • Download repository:

    With https:

    git clone https://github.com/UCLA-RADAR-Group/radardecode.git  
    cd radardecode  

    With ssh:

    git clone git@github.com:UCLA-RADAR-Group/radardecode.git  
    cd radardecode  
  • Specify the target location for scripts and executables:
    Edit the value of GLOBDIR in the top-level Makefile if necessary (default is $(HOME)/bin)

  • Compile:

    make  
  • Run tests:

    make tests  
  • Successfully tested on CentOS 7.3.1611/7.5.1804, Ubuntu 12.04.5/16.04.5/20.04, MacOS 10.11.6/10.15.5.

Basic usage

  • To process continuous wave data into power spectra:

    drv_cw.sc controlfile firstscan lastscan  
    [e.g.,] drv_cw.sc drvcw.dat 1 1  
  • To process delay-doppler data into images:

    export DRVSB=controlfile  
    drv_all.sc [-d -c] 1st_file numfiles    
    [e.g.,] drv_all.sc 1 1   
    drv_mapmsc.sc {opts} file1 numfiles toavg map/row {newRowLen} {newColLen}{colOff}  

Credits

Most of the software was written by Phil Perillat. This repository was created by Jean-Luc Margot and uploaded to a CVS server circa 2005 and to GitHub in 2019. It was brought back in sync with the current revision (r2007) of aosoft by Sanjana Prabhu Desai and Jean-Luc Margot in 2020.

This version is based on aosoft GitHub version
https://github.com/UCLA-RADAR-Group/aosoft/commit/fc8dec2e3263f7588f930bfde9a1ddfedb01f753

Further reading

Additional information about planetary radar astronomy can be found at http://radarastronomy.org.

Contact

Please send comments and bug reports to:

Jean-Luc Margot
University of California, Los Angeles
jlm@astro.ucla.edu

About

Radar data reduction software initially developed at Arecibo

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 91.9%
  • Shell 7.0%
  • Other 1.1%