Geomorphology Programs


Click here for notes on how to download U.S.G.S. DEM data.

DEM Codes

  • FORTRAN code
    readdemraw.f - Reads raw USGS DEM and writes useable DEM file
    makesmall.f - Reads large DEM file and outputs subset of DEM
    demjoin.f - Joins together DEM files (Revised: 11/25/96)
    setdir.f - Program to determine drainage directions
    slopearea.f - Program to determine drainage directions (Revised: 11/19/96)
    hypso.f - Program to determine hypsometric distribution (Revised: 11/19/96)
    cumarea.f - Program to determine cumulative area distribution (Revised: 11/19/96)
    printchan.f - Program to print (i, j) coordinates of channel network (Revised: 11/09/96)
    mindem.f - Program to create smallest DEM file containg isolated basin
    plotmatrix.f - Program to output pure matrix from DEM file input (Revised: 11/15/96)
    width.f - Program to calculate geomorphic width function (Revised: 11/13/96)
    timearea.f - Program to calculate geomorphic time-area curve (Revised: 11/13/96)
  • C code
    fileutil.c - Utilities to read/write DEM files (Revised: 11/08/96)
    area.c - Program to determine the cumulative areas at all pixels
    zarea.c - Program to determine the cumulative areas at all pixels within a specified basin
  • Matlab scripts
    riverdraw.m - Script to plot 3-D image of drainage basin with shaded channel network
    (Revised: 11/13/96)

    DLG Codes

    Under Construction ...
    [Mail] Click here to E-mail your comments.
    by Glenn Moglen
    Last Modified January 3, 1997