Tutorial Troubleshoot 2014: Difference between revisions

Content deleted Content added
Created page with "=ERROR Message= ERROR 2014 - No active cells within SA inflow polygon. =Reason= This error message indicates that there are no active cells within the SA (source-area) inflow. ..."
 
m Solution: i.e.
 
Line 5:
=Solution=
Open the GIS messages from the TUFLOW\Runs\log\ folder. If using MapInfo the messages layer is called: '''M01_5m_002_messages.mif''', for other GIS platforms this will be called '''M01_5m_002_messages_P.shp'''. This will point to the location of the issue. If the error message occurs within the '''2d_code_M01_002''' layer, ensure that the attribute for the 2d_code polygon is set to 1 (active) rather than 0 (inactive). The active cells are exported as part of the check files. However, this can also be specified in the Geometry Control File (.tgc). To export the active cells out the "Write GIS Grid" command can be used. An example is:<br>
<font color="blue"><tt>Set Code </tt></font> <font color="red"><tt>==</tt></font><tt> 0</tt><font color="green"><tt> ! Set all cells to inactive (iei.e. Code 0)</tt></font><br>
<font color="blue"><tt>Read GIS Code </tt></font> <font color="red"><tt>==</tt></font><tt> ..\model\mi\2d_code_M01_002.MIF</tt><font color="green"><tt> ! Set cell codes according to polygon 2d_code attributes</tt></font><br>
<font color="blue"><tt>Write GIS Grid </tt></font> <font color="red"><tt>==</tt></font><tt> ..\check\tmp_grd.mif</tt><font color="green"><tt> ! Write out active grid cells to specified file.</tt></font><br>