Skip to content

This Git repository consolidates a collection of scripts that have been developed as part of a highly-automated workflow for generating digital terrain models (DTMs) from CTX and HiRISE stereo image data using the NASA Ames Stereo Pipeline (ASP).

License

Notifications You must be signed in to change notification settings

AndrewAnnex/asp_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USGS ASP Scripts

This Git repository consolidates a collection of Bash scripts that have been developed as part of a highly-automated workflow for generating digital terrain models (DTMs) from CTX and HiRISE stereo image data using the NASA Ames Stereo Pipeline (ASP).

This repository was manually forked from the UChicago ASP Scripts project, hosted at the University of Chicago: https://psd-repo.uchicago.edu/kite-lab/uchicago_asp_scripts

Most of these Bash scripts are wrappers for the various USGS ISIS3 and ASP binaries used to generate DTMs from stereo image data. These scripts were developed to be run in a high-performance computing environment using the SLURM job manager. As such, many of the scripts contain calls to scontrol in order to generate a file containing a list of compute nodes for parallel_stereo to use. See the comments in individual Bash scripts for details on modifying them for use with another job manager (i.e. PBS) or for use on a single machine.

Dependencies

Supported Platforms

These scripts have been developed and tested on recent versions of Fedora, Ubuntu and Scientific Linux. They should work on other flavors of GNU/Linux either natively or in a VM. I expect some of the scripts will fail on Mac OS X because the versions of sed and awk that ship with OS X tend to be older and have different functionality compared to their GNU cousins. A workaround would be to compile GNU versions of these programs from source or install from a package manager like MacPorts or Homebrew.

Basic Usage

Scripts for processing CTX and HiRISE data are organized into their own subdirectories. The order in which individual scripts should be run is listed below. Please see comments in the individual scripts for detailed usage information. Running any of the scripts without arguments will print a usage message.

CTX

  1. ctxedr2lev1eo.sh
  2. asp_ctx_lev1eo2dem.sh
  3. asp_ctx_step2_map2dem.sh
  4. pedr_bin4_pc_align.sh
  5. (Estimate max displacement between initial CTX DTM and MOLA PEDR using your favorite GIS software)
  6. asp_ctx_map_ba_pc_align2dem.sh

HiRISE

  1. asp_hirise_prep.sh
  2. asp_hirise_map2dem.sh
  3. (Estimate max displacement between initial HiRISE DTM and reference DTM, such as CTX, using your favorite GIS)
  4. asp_hirise_pc_align2dem.sh

Referencing This Workflow

Please cite the following LPSC abstract in any publications that make use of this work or derivatives thereof: Mayer, D.P. and Kite, E.S., "An Integrated Workflow for Producing Digital Terrain Models of Mars from CTX and HiRISE Stereo Data Using the NASA Ames Stereo Pipeline," (2016) LPSC XLVII, Abtr. #1241. http://www.hou.usra.edu/meetings/lpsc2016/pdf/1241.pdf E-poster: http://www.lpi.usra.edu/meetings/lpsc2016/eposter/1241.pdf

The Ames Stereo Pipeline itself should be cited according to guidelines outlined in the official ASP documentation.

About

This Git repository consolidates a collection of scripts that have been developed as part of a highly-automated workflow for generating digital terrain models (DTMs) from CTX and HiRISE stereo image data using the NASA Ames Stereo Pipeline (ASP).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages