Open changliao1025 opened 2 years ago
This is the place that may need improvement. https://github.com/changliao1025/hexwatershed/blob/a12c85d4c4a95f101ba0717996498de94fde6841/src/compset/compset_run.cpp#L169
However, it is also possible to adjust the threshold during the simulation. Such this parameter should consider the minimal flow accumulation in those burnt in cells.
We decide to use a new added option (iFlag_stream_grid_option) to control this feature to allow flexibility.
Because HexWatershed can turn off stream burning, not all options are available in different configurations.
The json file from PyFlowline contains a flag on whether a cell is a stream grid or not. However, the flow accumulation is also used to define the stream grid. To preserve the original information, it is better to keep the flag even though its accumulation may be smaller than the threshold.