Set up folders and GIS environment
-
Set up TUFLOW model folders as recommended in Table 2 .1 in Section 2.2.2 on your computer.
-
Start up the GIS and display the GIS base layers on the screen. Develop a clear idea of where your model will be located and its extent (see sections in Chapter 3).
Set the GIS projection & create empty .mif/.mid files
-
Create an empty text file and save it with a .tcf extension (eg. my_model.tcf) in the runs folder (see Section 2.2.2 for suggested folder structure). First set the GIS projection using the MI Projection command. This involves exporting in .mif/.mid format an existing GIS layer (create a “dummy” one if necessary) that is in the projection TUFLOW will use (all layers read by TUFLOW must be in the same GIS projection), and copying the “CoordSys…” line (see MI Projection).
-
Also have TUFLOW create empty GIS .mif/.mid files for later use using the Write Empty MI Files command. It is recommended to create a folder named “empty” under the “model\mi” folder in which to write the empty .mif/,mid files. The commands in the .tcf file are as follows.
.tcf file:
! Set the geographic projection and create empty GIS layers
MI Projection == CoordSys… ! place the CoordSys line from a .mif file
Write Empty MI Files == ..\model\mi\empty
-
Run TUFLOW using my_model.tcf (see Section 4 for options to run TUFLOW). Empty GIS layers as listed in Table 2 .3 should be created in the “..\model\mi\empty” folder and TUFLOW then stops. Remove or comment out (using a “!” or “#”) the Write Empty MI Files command as this is no longer needed.
Dostları ilə paylaş: |