Giter VIP home page Giter VIP logo

asp_scripts's Introduction

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.

asp_scripts's People

Contributors

thareusgs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.