Giter Site home page Giter Site logo

tdxhydro-postprocessing's Introduction

rapid_preprocess

Louis R. Rosas, Dr Riley Hales, Josh Ogden

Inspired by previous work including

Overview

Provides the master function 'PreprocessforRAPID', which:

Reads in provided stream networks and catchments

Sorts the modeling network by Strahler stream order, ascending

Fixes stream segments of 0 length for different cases as follows:

  1. Feature is coastal w/ no upstream or downstream
    • Delete the stream and its basin
  2. Feature is bridging a 3-river confluence (Has downstream and upstreams)
    • Artificially create a basin with 0 area, and force a length on the point of 1 meter
  3. Feature is costal w/ upstreams but no downstream
    • Force a length on the point of 1 meter
  4. Feature doesn't match any previous case
    • Raise an error for now

Creates three new networks:

  1. A visulation network, which has the top order 1 streams dissolved with their downstream order 2 segment (for smaller file sizes)
  2. A modeling network, which is similar to 1) but only preserves the geometry of the order 2 segment and the longest order 1 segment
  3. A modified basins network. Any streams that were merged will have their corresponding catchements also dissolved

Calculates the muskingum parameters for the stream network and adds this information to the modeling network

Creates the following six files:

  • comid_lat_lon_z.csv
  • riv_bas_id.csv
  • k.csv
  • kfac.csv
  • x.csv
  • rapid_connect.csv

Creates weight tables for each of the given input ERA netCDF datasets

All out puts are saved to given directory

tdxhydro-postprocessing's People

Contributors

rileyhales avatar rickytheguy avatar j-ogden99 avatar

Stargazers

Amin Shakya avatar Chinmay Deval avatar

Forkers

rickytheguy

tdxhydro-postprocessing's Issues

Open to collaborate?

@rileyhales, I was quite excited to discover your v2 release of the GEOGloWS Streamflow project's datasets and tools. It's quite impressive that you and your team has built such an strong foundation for a next gen global river flow simulation system. I'm also impressed that you posted all your data to AWS Open Data Registry: https://registry.opendata.aws/geoglows-v2/. Nice work!

I've been tracking the development of global datasets and tools for similar purposes for the last 5 years or so with the goal of expanding Model My Watershed capabilities from CONUS to the globe.

Our team has finally gotten the funding to get started on this work, and we're very interested in building from and potentially contributing to your work. We're thinking of starting by directly using your modified TDX-Hydro Streams and Catchments that you're maintaining on AWS at http://geoglows-v2.s3-website-us-west-2.amazonaws.com/. Our idea is to develop Rapid Watershed Delineation capabilites to operate over your modified TDX-Hydro datasets.

Might you be interested in a conversation about potentially collaborating? If it doesn't make sense right now, no worries; you have admirers who will use what you share! If it does make sense to explore a potential collaboration, a low-effort and low-effort easy start might be to connect via zoom for an information exchange.

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.