Skip to content

Function to categorize flows

To assist with plotting functionality and using hyswap for mapping flow conditions, we should add a utility function to categorize flows based on a particular scheme. Possible schemes are in #21 (closed) but could also include other schemes. Will need to decide if hyswap should have schemes built-in as options, or is just a user input.

Three components would make up a scheme:

  • Ranges of streamflow percentiles that form categories
  • Labels for categories
  • Color palette
Edited by Scott Hamshaw