|
|
|
|
|
The HYDRO tab holds the editing tools (e.g. cut, merge, relink etc). You will recognize many of from other GIS softwares but here are also some WHIST specific tools and some will also be simpler and faster in WHIST.
|
|
|
|
|
|
**NOTE!** Make it as a routine to always make the **[standard procedure after edits described under 10.5](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/10.-Editing-tools#105-standard-procedure-after-use-of-editing-tools)**.
|
|
|
|
|
|
[[_TOC_]]
|
|
|
____
|
|
|
|
|
|
|
|
|
### 10.1 Overview of editing tabs
|
|
|
|
|
|
Five tabs are available under the HYDRO tab:
|
|
|
- one for adjustments and correction of delineation (**1.**)
|
|
|
- one for routing/linking corrections (**2.**)
|
|
|
- one for different types of merging (**3.**)
|
|
|
|
|
|
Then there are two more tabs described in separate chapters:
|
|
|
- one for export of different types of shapefiles and textfiles based on the subbasin polygons, routing, connected data, etc, see [12. Export shapefiles and tables](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/12.-Export-shapefiles-and-tables).
|
|
|
- one for extraction and connection of data from other sources to the subbasin polygons, see [11. Extract and connect attributes to the subbasins](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/11.-Extract-and-connect-attributes-to-the-subbasins).
|
|
|
|
|
|
*Note: The editing tools will not work on the so called protected basins (delineated according to forced points or manually protected). If you want to change these you will have to uncheck "respect protected basins under basin/Advanced settings/ in the main menu (top left).*
|
|
|
|
|
|
![EditingToolsOnly](uploads/2afbfd7b803d56c92fb69672b7cf78c7/EditingToolsOnly.png)
|
|
|
*Tabs for editing*
|
|
|
|
|
|
### 10.2 Subbasin/polygon adjustments (Edit 1)
|
|
|
|
|
|
#### 10.2.1 Cut (manual)
|
|
|
- Go to HYDRO/Edit1
|
|
|
- Activate the cut button (turn red)
|
|
|
- Click on the basin you want to cut, a red box will show up around the subbasin.
|
|
|
- Click just outside the red box and draw the cutting line and end outside the box, the subbasin will be cut.
|
|
|
- Check that routing still OK(e.g. show flowlines) and make the **[standard procedure after edits described under 10.5](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/10.-Editing-tools#105-standard-procedure-after-use-of-editing-tools)**
|
|
|
|
|
|
![Cut](uploads/48f2ff222fa28b5b2c78faeedc157eaa/Cut.png)
|
|
|
*Cutting a subbasin*
|
|
|
|
|
|
#### 10.2.2 Split (according to flow accumulation grid)
|
|
|
- Go to HYDRO/Edit1
|
|
|
- Activate the split button (turn red)
|
|
|
- Click on the subbasin you want to split (if the automatic zooming disturbs, uncheck "zoom to selected basin" in the small window that appears).
|
|
|
- Click on the pixel in the flow accumulation grid where you want the split to be processed.
|
|
|
- Click yes to "ok to split?" and the splitting will be done.
|
|
|
- Check that routing and pourpoints are OK after the split. Make the **[standard procedure after edits described under 10.5](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/10.-Editing-tools#105-standard-procedure-after-use-of-editing-tools)**
|
|
|
|
|
|
|
|
|
|
|
|
![Split](uploads/f3abb489f00b14400e43912d4aced4c1/Split.png)
|
|
|
*Splitting a subbasin according to flow accumulation*
|
|
|
|
|
|
If you want to split the subbasin with the aim to fit an outlet to a hydrological feature (gauging station, lake, village, etc) you can be helped by viewing a shapefile of the feature location in the background. You can view a shapefile if you follow these instructions **[View Shapefiles and Open Street Map](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/-6.-View-tools#65-viewing-external-data-like-open-street-map-osm)**.
|
|
|
|
|
|
#### 10.2.3 Fill up (fill holes between subbasins)
|
|
|
- Select the subbasins around the hole.
|
|
|
- Click on the button "Fill up".
|
|
|
|
|
|
![Fill_betweensubbasins3](uploads/c37687c8642a00230c1ef861f09c42e9/Fill_betweensubbasins3.png)
|
|
|
*Fill up empty areas between subbasins*
|
|
|
|
|
|
#### 10.2.4 Remove holes (within a subbasin)
|
|
|
- select the subbasin with the hole
|
|
|
- click on Edit 1/more>/remove holes
|
|
|
|
|
|
![RemoveHoles](uploads/54fe381293350b3aaba9d8552e1d9338/RemoveHoles.png)
|
|
|
*Hole removal (within subbasin)*
|
|
|
|
|
|
#### 10.2.6 Correct Fragmentation
|
|
|
- This tool split multipart polygons into singlepart and give new parts unique SUBIDs.
|
|
|
|
|
|
![CorrectFragmentation2b](uploads/a91fcfb1a74b29c5558f4f6bcef49633/CorrectFragmentation2b.png)
|
|
|
*Correct fragmentation from multipart (left, all orange polygons belong to subbasin no 10) to singlepart with new SUBIDs (right)*
|
|
|
|
|
|
#### 10.2.7 Kill (delete subbasins)
|
|
|
|
|
|
- The "kill" button will delete all selected subbasins and should be used with caution. WHIST has no "undo" button. You have to start with the procedure from the last save if you do something wrong.
|
|
|
|
|
|
![Kill](uploads/d9d8307aed2801690ffff24860d21e86/Kill.png)
|
|
|
|
|
|
|
|
|
#### 10.2.8 Mururoa (delete subbasins of certain size)
|
|
|
This tool makes it possible to delete main river basins (and their subbasins) smaller than a certain size.
|
|
|
|
|
|
#### 10.2.9 Remove empty basins (with no size)
|
|
|
Sometimes, depending on the quality of the used topography used when developing the subbasins, or if many manual edits have been made, polygons with an ID but no shape will appear. These might disturb exports of files etc and should therefore be removed.
|
|
|
|
|
|
#### 10.2.10 Check unfinished
|
|
|
This tool check weather there are unfinished subbasins or not. An unfinished basin is a subbasin where the entire catchment is not delineated according to the topography. There are still parts remaining to fullfil.
|
|
|
|
|
|
#### 10.2.11 Force finish
|
|
|
With this tool it is possible to define the subbasin as finished even if not.
|
|
|
|
|
|
#### 10.2.12 Set category
|
|
|
A tool that can set the category of your basin. This will be added as an attribute to the subbasin, both in the "HYSS-table" and the shapefile. When generating subbasins the subbasins will automatically be set to different kinds of categories:
|
|
|
- aro: just a normal subbasin within a main river basin.
|
|
|
- forced: a subbasin generated with its outlet (pourpoint) forced to an forced point. Not sure it is protected or not.
|
|
|
- coast: the most downstream subbasin (mouth) before the sea.
|
|
|
- sink: the most downstream subbasin with a certain distance from the coast (inland sink)
|
|
|
- border: still have missing downstream area within the given topography.
|
|
|
- See the **[Terminology](https://git.smhi.se/whist/whist/-/wikis/WHIST-Wiki/Terminology)**
|
|
|
|
|
|
#### 10.2.13 Set protected
|
|
|
With "Set protected" the selected subbasin can achieve protection status against certain edits. There are several choices as you can see under column "Setting" in the dialog box beneath:
|
|
|
|
|
|
![Set_protection_dialog](uploads/b31fed2cd3655f927cbef72ebc4270c4/Set_protection_dialog.png)
|
|
|
|
|
|
*For each of the Settings you can choose (under "New") weather it is Ok or not to edit and change the delineation, routing, pourpoint etc. This is of great help if you decide to make manual changes in the settings which you want to keep for the future and make sure they remain if you start making new changes or use general tools over all other subbasins. It gives you control.
|
|
|
|
|
|
|
|
|
### 10.3 Routing/Linking adjustments (Edit 2)
|
|
|
|
|
|
- If the links between subbasins according to the topography information is known to be wrong or if the routing has become strange due to many edits they might have to be corrected. This can be made in both manual ways (if the routing should not be in accordance with the topography data) or in automatic way (to follow the given topography).
|
|
|
|
|
|
#### 10.3.1 Links (manual)
|
|
|
|
|
|
- activate the link button (turn red)
|
|
|
- click on the subbasin you want to change direction for
|
|
|
- click on the downstream basin
|
|
|
*NOTE! click close to the border to get as natural pour target as possible (i.e the point within the downstream subbasin that receives the water). The pourpoint (the outlet point of the subbasin) from where the water comes from must thereafter be set manually by the tool HYDRO/Edit 2/*Manual set coordinate button*: **pour**. Double click at the location where you want the pourpoint to be located (close to the pour target).*
|
|
|
|
|
|
|
|
|
![Link1](uploads/c2d893f67756d920fa948185d717d10f/Link1.png)
|
|
|
*Links tool. Changing direction of river flow using mouse pointer (white arrow).Note that the pour target change but not the pour point which must be set in a second step to not give a flowline jumble.*
|
|
|
|
|
|
#### 10.3.2 Manage links (routing) and coordinates (pour-, target-, center points)
|
|
|
- With this dialog you can relink selected subbasins in accordance with the topography, e.g. if you have imported subbasins or to correct the routing if many edits have been made which can interrupt and confuse the links. Nowadays there are several options, see figure beneath, and you can for example choose different ways to set pourpoints with or without keeping the routing as it is. This can be useful if you have made manual changes to the routing.
|
|
|
|
|
|
- select the subbasins to reset
|
|
|
- click on Edit 2/manage links & coords. Choose method, which points to reset (pour/target/center) and if you want to keep the routing (if you have changed it manually) or if you want to reset it according to new or old information.
|
|
|
|
|
|
|
|
|
![Autolink](uploads/40f87fea30511bba9a954253a2bb4ccb/Autolink.png)
|
|
|
*Settings for setting routing and pourpoints according to the topography data. Pourpoints etc can also be set somewhere on the subbasin border closest to next downstream basin if no topography data is available.*
|
|
|
|
|
|
If you are rerouting the subbasins + resetting the pourpoints according to the topography, please use the tool twice. Otherwise not all subbasins may be revised correctly.
|
|
|
|
|
|
|
|
|
#### 10.3.3 Fix hydroloops
|
|
|
|
|
|
- Hydroloops might arise in imported subbasin datasets or after edits. These are fixed by using these tool.
|
|
|
|
|
|
#### 10.3.4 Clean Hydro connections
|
|
|
|
|
|
- The hydro connections might be cut after edits. This tool should always be used to set them again. No change in links will occur.
|
|
|
|
|
|
#### 10.3.5 Select all with default target
|
|
|
|
|
|
- This tool makes it easy to select all subbasins with **default targets** (i.e a point outside the modelled area e.g. lat:0.0, lon:0.0). These subbasins might be real sinks or something you want to relink to the surrounding river basin.
|
|
|
|
|
|
#### 10.3.6 Manual set coordinate
|
|
|
|
|
|
With this tool you can set the different coordinates of a subbasin manually (centerpoint, targetpoint and pourpoint) manually.
|
|
|
|
|
|
|
|
|
#### 10.3.7 Haro id
|
|
|
|
|
|
If you do any routing changes you should reset "Haro id" (Main river basin ID) since this might have changed if there are transbasin changes. Select the changed subbasins with all upstreams and downstreams (or all subbasins) and click the Haro id / Set button
|
|
|
|
|
|
|
|
|
### 10.4 Merging tools with different criterias (Merge)
|
|
|
|
|
|
There are several ways to merge subbasins. Manual and more automatic based on different criterias.
|
|
|
|
|
|
![MergeTools](uploads/8b0cf01ea83a609458785b2994b9ee2a/MergeTools.png)
|
|
|
*Merge tools*
|
|
|
|
|
|
#### 10.4.1 Merge (using mouse pointer)
|
|
|
- activate the merge button (turn red)
|
|
|
- click on the first basin and then on the second and the subbasins will be merged (an arrow will be seen between the two which will be merged).
|
|
|
|
|
|
![Merge](uploads/72598db4eb4da8ab9df103d86e1e1541/Merge.png)
|
|
|
*Merge of two subbasins*
|
|
|
|
|
|
#### 10.4.2 Merge by dialog
|
|
|
|
|
|
- by using the dialog it is possible to merge neighbours with the same categories and no upstream or downstream basins, e.g. very small subbasins along the coast, or many small neighbouring sinks that could be merged into one. There are several options that make it possible to use this tool over large regions with many subbasins but just include specific subbasins in the processing.
|
|
|
|
|
|
![Merge_dialog1](uploads/aa47ba1a06dd5bc6ee7958ee24f0da7a/Merge_dialog1.png)
|
|
|
*Dialog for merging single basins with the same category by some criterias*
|
|
|
|
|
|
#### 10.4.3 Merge selected
|
|
|
|
|
|
- merge all selected basins into one subbasin. Even if not neighbours. Be aware of your selections!
|
|
|
|
|
|
#### 10.4.4 Merge coast
|
|
|
- merge coast merge subbasins with the category "coast". The merging will be processed on selected subbasins according to the settings under HYDRO/create/edit - Method settings.
|
|
|
|
|
|
|
|
|
#### 10.4.5 Merge islands
|
|
|
|
|
|
- if small islands are not necessary to model as single objects they can be grouped by this tool by using the following dialogs for size threshold and range.
|
|
|
|
|
|
![Merge_islandsDialogs](uploads/e4d9fc1d12d96818c362d784527bd330/Merge_islandsDialogs.png)
|
|
|
*Merge islands dialogs*
|
|
|
|
|
|
![MergeIslands](uploads/fbb037d499000076eaab16a58f9d6ffc/MergeIslands.png)
|
|
|
*Merge islands*
|
|
|
|
|
|
#### 10.4.6 Merge with small Upstreams & Downstreams
|
|
|
|
|
|
- These tools will merge non protected basins with upstream and downstream subbasins smaller than a certain limit, respectively.
|
|
|
- This tool is very useful after creation of subbasins to achieve a more narrow size distribution since some small subbasins will appear.
|
|
|
|
|
|
![Merge_with_small_upstreams1](uploads/91474f3b168d105ff31e14ee242dcdf2/Merge_with_small_upstreams1.png)
|
|
|
*Merge with small upstreams*
|
|
|
|
|
|
![Merge_with_small_DOwnstreams1](uploads/408be2345d34289b5f501b56c94f9bb0/Merge_with_small_DOwnstreams1.png)
|
|
|
*Merge with small downstreams*
|
|
|
|
|
|
#### 10.4.7 Merge externals
|
|
|
|
|
|
If there are two folder saves with all non-finished subbasins left this is the way to merge them. See example in the figure below for further explanation. Along the border there will be hundreds of small unfinished basins and if they are selected and then merged by this button there will be subbasins generated according to the method settings under /HYDRO/create.
|
|
|
|
|
|
![merge_externals](uploads/58aa66c51936ef4d6d24809c56670841/merge_externals.png)
|
|
|
*Two unfinished folder saves are merged and all border/unfinished basins are merged according to settings**.
|
|
|
|
|
|
|
|
|
#### 10.4.8 Unify upstreams
|
|
|
|
|
|
This tool merge upstream subbasins according to a final maximum subbasin area which can be manually choosen.
|
|
|
|
|
|
![Unify_upstreams1](uploads/4278f6468828618a9b8a5968a8967f71/Unify_upstreams1.png)
|
|
|
*Unify upstreams*
|
|
|
|
|
|
____________
|
|
|
|
|
|
|
|
|
### 10.5 :bell: Standard procedure ***AFTER*** use of editing tools.
|
|
|
|
|
|
After splitting, merging, cutting etc, it might be necessary update pourpoints, target points and upstream areas. To avoid errors it is recommended to use this standard procedure after edits.
|
|
|
|
|
|
a. Go to the HYDRO tab and select the modified subbasin and its neighbouring upstream and downstream basins.
|
|
|
b. Go to HYDRO/Edit 2/manage links & coords.
|
|
|
- Check "According to Flow ACC", "All", "reset routing"
|
|
|
- Click Start.
|
|
|
c. Check the boxes upstream and downstream under the HYDRO tab and select the modified subbasin (and all its upstreams and downstreams).
|
|
|
- Click on the button clean hydro connection under HYDRO/Edit 2/
|
|
|
- Click on the button Haro id set under HYDRO/Edit 2/ (Haroid is the ID of the main river basin) |