GithubHelp home page GithubHelp logo

up-rs-esp / changeom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bodobookhagen/changeom

0.0 2.0 0.0 0 B

ChanGeom - Channel Geometry, River Width, and along-stream distance extraction from KML

Python 82.13% MATLAB 17.87%

changeom's Introduction

ChanGeom

ChanGeom - Channel Geometry, River Width, and along-stream distance extraction from KML files. The KML files can be created in Google Earth (manual clicking along river paths) or by automatic extraction from airphotos or satellite imagery. This is a modified and enhanced version originally described in:

Fisher, G.B., et al., Channel planform geometry and slopes from freely available high-spatial resolution imagery and DEM fusion: Implications for channel width scalings, erosion proxies, and fluvial signatures in tectonically active landscapes, Geomorphology (2013), http://dx.doi.org/10.1016/j.geomorph.2013.04.011

Please cite that manuscript when using these scripts.

Contact Bodo Bookhagen ([email protected]) for questions and comments pertinent to the code.

The following major changes have been done to the original code:

  • Full Python 3.6 implementation
  • gdal and ogr workflows to read and write large number of shapefiles and tif files
  • automatic (re-) projection of input files and fully automatized workflows
  • Scipy-based channel extraction (no Matlab required) WILL BE UPDATED to allow CUDA and multi-core processing
  • merging all channel width shapefiles into one coherent shapefile for each region for easier analysis
  • linking channel width file with topographic information from DEM file (drainage area, flow distance, slope) through Kd trees (no ESRI arcpy or ArcMap necessary). This is a significant speed improvement over arcpy.
  • generating standard output plots through matplotlib to visualize and analyze results
  • Generating a Python-Pandas DataFrame with all data for efficient and fast analysis
  • Saving all data to ASCII and HDF files for further analysis in Python-Pandas or Matlab

Installation

The code will run on any operating system. You will need to install a number of packages for python, but these should be standard on any Python 3.X installation (e.g., Anaconda, WinPython): gdal, ogr, numpy, scipy, matplotlib, pandas

Running the Code

You will only need to change/set parameters in the ChanGeom.ini file. These will need to be modifed for each region. See the ChanGeom.ini file for more information. You should create a separate ChanGeom.ini file for each region.

Example

Will follow.

changeom's People

Contributors

bodobookhagen 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.