swn.modflow.SwnModflow.set_reach_slope#

SwnModflow.set_reach_slope(method: str = 'auto', min_slope=0.001)#

Set slope for reaches.

This method also adds/updates several attributes for reaches. The actual data is stored in “slope” for SwnModflow or “rgrd” for SwnMf6 classes.

Parameters:
method: str, default “auto”

Method used to evaluate reach slope.

  • auto: automatically determine method.

  • zcoord_ab: if surface water network has Z information, use the start/end elevations to determine elevation drop.

  • grid_top: evaluate the slope from the top grid of the model.

  • rch_len: calc dz from slope of top model grid calc rgrd as dz/rlen

min_slopefloat or pandas.Series, optional

Minimum downwards slope imposed on segments. If float, then this is a global value, otherwise it is per-segment with a Series. Default 1./1000 (or 0.001). Diversions (if present) will use the minimum of series.