... | ... | @@ -19,6 +19,8 @@ First, you need to download QGIS and topographic (and bathymetry) data to define |
|
|
|
|
|
Here are the steps to define the domain boundaries. At the end of this stage, a shapefile roughly closing the domain will be created.
|
|
|
|
|
|
At the end of this step, you should have a new shapefile (for example, `coast.shp`) with the coastlines and the open boundaries as straight lines.
|
|
|
|
|
|
- Open QGIS
|
|
|
- Save new project
|
|
|
- Import topography (and bathymetry) data (click and drag *.shp* or *.tif* file).
|
... | ... | @@ -33,9 +35,10 @@ Here are the steps to define the domain boundaries. At the end of this stage, a |
|
|
- In edit mode, open table of attributes ![attr-field](/uploads/831cb5ac88fed104372113c22ab27484/attr-field.png)
|
|
|
- Add a column ![new-column](/uploads/cf8897fd6cfb6d7b272f4ed244cc8889/new-column.png), name it "entity" of type "integer"
|
|
|
- Give value "1" by default
|
|
|
- Select line(s) ![select](/uploads/e7ade47750c57be4bea219f949a479ef/select.png) and change entity. Give as many different integers as necessary to produce the mesh and run the model (but not too many).
|
|
|
- Select line(s) ![select](/uploads/e7ade47750c57be4bea219f949a479ef/select.png) and change entity. Give as many different integers as necessary to produce the mesh and run the model (but not too many). Those integers will be converted into physical tags later on.
|
|
|
- Hint : write the numbers on a paper sheet with their meaning (1 : coast).
|
|
|
- Save all and close QGIS
|
|
|
- If you're working on VirtualBox, move the folder containing the new shapefile to the shared folder.
|
|
|
|
|
|
## Python script
|
|
|
|
... | ... | |