environmental-modeling-workflows / watershed-workflow

Python workflows for data-rich, hyper-resolution simulations of hydrologic models on watersheds.
Other
67 stars 29 forks source link

add reach properties from NHDPlus data #22

Closed saubhagya-gatech closed 2 years ago

saubhagya-gatech commented 2 years ago

provide a way to include additional useful data from NHDPlus as reach properties.

This includes:

Currently only select properties are supported from these tables. This can be easily expanded by adding more alias names in the dictionary of alias names and codes provided in manager_nhd.py.

saubhagya-gatech commented 2 years ago

Currently supported properties: 'StreamOrder', 'StreamLevel', 'HydrologicSequence', 'DivergenceCode', 'CatchmentAreaSqKm', 'TotalDrainageAreaSqKm',' MeanAnnualFlow', 'catchments', 'StreamOrder', 'HydrologicSequence', 'catchments'

Example usage:

 _, reaches = watershed_workflow.get_reaches(sources['hydrography'], huc, 
                                      watershed.exterior().bounds, crs, crs, 
                                      properties=['MeanAnnualFlow','catchments','StreamOrder','HydrologicSequence', 'MeanAnnualFlowGaugeAdj'])