Skip to content

NOAA-OWP/hydrofab

Repository files navigation

hydrofab: Fabricating Hydrofabrics

Dependencies

The goal of hydrofab is to provide consistent hydrologic and hydraulic network manipulation tool chains to achieve model application ready datasets from a consistent reference fabric. Some of these are being built at ngen.hydrofab and gfv2.0

Installation

You can install the development version of hydrofab like so:

install.packages("remotes")
remotes::install_github("mikejohnson51/hydrofab")

Soon to be …

remotes::install_github("NOAA-OWP/hydrofab")

Introduction

This package is based around the same concepts as nhdplusTools and merges the previous hyRefactor and hyAggregate packages in an attempt to provide a common software stack for fabricating hydrofabrics.

Refactoring and Aggregating

The concept of refactoring as intended here includes:

  1. Splitting large or long catchments to create a more uniform catchment size distribution,
  2. collapsing catchment topology to eliminate small catchments

The concept of aggregating as intended here includes aggregating catchments into groups based on existing network topology and defined criteria. Two primary use cases are offered:

  1. Aggregating to a set of defined outlet locations
  2. Merging catchments to a uniform size with enforced minimum areas and lengths.

This type of functionality is especially relevant to modeling applications that need specific modeling unit characteristics but wish to preserve the network as much as possible for interoperability with other applications

Questions:

Mike Johnson (NOAA Hydrofabric Lead), David L. Blodgett (Hydroinformatics Lead, USGS WMA)

Disclaimer

These data are preliminary or provisional and are subject to revision. They are being provided to meet the need for timely best science. The data have not received final approval by the National Oceanic and Atmospheric Administration (NOAA) or the U.S. Geological Survey (USGS) and are provided on the condition that neither NOAA, the USGS, nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the data.