Tuflow and estry manual Version 3


comment out and add to .tgc file



Yüklə 4,62 Mb.
səhifə155/303
tarix26.12.2016
ölçüsü4,62 Mb.
#3356
1   ...   151   152   153   154   155   156   157   158   ...   303
comment out and add to .tgc file:

!Write MI Zpts == mi\2d_zpt_my_model

Read MID Zpts == mi\2d_zpt_my_model.mid ! Note use of MID (not MI) and .mid file

Define preliminary active and inactive areas of 2D grid


  1. To reduce output file sizes and possibly run times, remove permanently dry areas and any other inactive (land) cells from the grid:

    1. First, change the Set Code == 1 command already entered in the .tgc file to Set Code == 0 to set all cells as inactive (land).

    2. In the GIS, import the “2d_code_empty.mif” layer and save as “2d_code_my_model”. Add the layer to your GIS work environment and make it editable. Digitise region(s) to define the active cells. For each of these region(s) set the “Code” attribute to 1.

    3. As an alternative to (b) above, the active regions can be placed into a 2d_bc layer that will later contain the 2D boundary locations. This approach is used by advanced modellers to keep the 2D boundaries and code regions together in the same layer. To do this, for each of these region(s) set the “Type” attribute to “CD” and the “f” attribute to “1” – the other attributes are not used (see Table 4 .24 and Table 4 .25). If you are unsure of exactly where the model boundaries occur, digitise beyond where you think the boundaries will occur and adjust the region later.

  2. Save then export the 2d_code (or 2d_bc) layer as .mif/.mid files. Use the Read MI Code (or Read MI Code BC) command in the .tgc file to assign a code 1 (active or water cells) to all cells that fall within the digitised regions. The .tgc commands are shown below for the 2d_code approach.



Yüklə 4,62 Mb.

Dostları ilə paylaş:
1   ...   151   152   153   154   155   156   157   158   ...   303




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin