... | ... | @@ -74,3 +74,41 @@ Setting the `--widening` flag will include a widened section at the end of the s |
|
|
| `-NW <w_num_cs>` | Number of cross sections in the widening | 5 | - |
|
|
|
| `-DXT <t_dx>` | Distance between cross sections in the transition | 20.0 | m |
|
|
|
| `-NT <t_num_cs>` | Number of cross sections inserted into the transition | 3 | - |
|
|
|
|
|
|
### Varying channel parameters over distance
|
|
|
|
|
|
*New in version 2.0.5*
|
|
|
|
|
|
> **Note:** The following flag and channel generation strategy is provisional and may be subject to change.
|
|
|
|
|
|
The `--file <path>` argument may be used to specify a CSV file to use to vary certain parameters across the length of the channel. The CSV file is used to specify control cross sections, with additional ones being inserted as per the `DX` command line flag or the dynamic `num_cs` field in the CSV itself.
|
|
|
|
|
|
#### Example CSV file
|
|
|
|
|
|
```csv
|
|
|
km, bed_width, slope, num_cs, ks, ksb
|
|
|
0, 80, 0.2, 10, 30, 20
|
|
|
0.1, 40, 0.1, 10, 30, 20
|
|
|
0.2, 80, 0.2, 10, 40, 30
|
|
|
0.3, 80, 0.1, 10, 40, 30
|
|
|
0.4, 80, 0.5, 20, 30, 20
|
|
|
0.5, 40, 0.2, 10, 30, 20
|
|
|
0.6, 40, 0.1, 10, 30, 20
|
|
|
```
|
|
|
|
|
|
> **Note:** Channel sections are generated between pairs of control cross sections defined in the CSV file.
|
|
|
>
|
|
|
> Where linear interpolation is not applicable (e.g. channel slope or number of cross sections), the value from the control cross section at the end of the channel section is used.
|
|
|
>
|
|
|
> This means that in the example above, the slope and num_cs values for the first control cross section are not used.
|
|
|
|
|
|
The interpolation strategy varies depending on the field:
|
|
|
|
|
|
| Field | Description | Interpolation |
|
|
|
|-----------|--------------------------------------------------|---------------------------|
|
|
|
| km | distance_coord of the control CS | - |
|
|
|
| bed_width | channel bed width | linear |
|
|
|
| slope | bed slope for this channel section | end control CS value used |
|
|
|
| num_cs | number of cross sections in this channel section | end control CS value used |
|
|
|
| ks | channel bed friction | linear |
|
|
|
| ksb | channel banks friction | linear | |