Difference between revisions of "TUFLOW Message 0015"
Jump to navigation
Jump to search
(Created page with "{{TUFLOW_Message |tuflow_message=ERROR 0015 - Variable "2D_TIMESTEP" not defined. |alt_msg=NA |type=ERROR |message_desc=Variable "2D_TIMESTEP" not defined. |suggestions=Ch...") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TUFLOW_Message | {{TUFLOW_Message | ||
− | |tuflow_message=ERROR 0015 - Variable " | + | |tuflow_message=ERROR 0015 - Variable "a" not defined. |
|alt_msg=NA | |alt_msg=NA | ||
|type=[[ERROR]] | |type=[[ERROR]] | ||
− | |message_desc=Variable " | + | |message_desc=Variables can be defined by the <font color="blue"><tt>Set Variable </tt></font> command. For example, in the case below a variable “2D_CELL_SIZE” is used to set the 2D cell size of the model under different model scenarios.<br> |
− | |suggestions=Check to ensure " | + | In the .tcf file: <br> |
− | + | <font color="blue"><tt>If Scenario </tt></font> <font color="red"><tt>== </tt></font><font color="black"><tt>2m</tt></font><br> | |
− | + | :<font color="blue"><tt>Set Variable </tt></font> 2D_CELL_SIZE <font color="red"><tt>==</tt></font> 2<br> | |
− | + | <font color="blue"><tt>If Scenario </tt></font> <font color="red"><tt>==</tt></font><font color="black"><tt> 5m</tt></font><br> | |
− | + | :<font color="blue"><tt> Set Variable </tt></font> 2D_CELL_SIZE <font color="red"><tt>==</tt></font> 5<br> | |
+ | <font color="blue"><tt>End If </tt></font><br><br> | ||
+ | |||
+ | In the .tgc file: <br> | ||
+ | <font color="blue"><tt>Cell Size </tt></font> <font color="red"><tt>==</tt></font> <<2D_CELL_SIZE>><br><br> | ||
+ | |||
+ | This error indicates the variable "a" is not defined before it is used. | ||
+ | |suggestions=Check to ensure variable "a" is defined. | ||
+ | <br> | ||
+ | |||
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]] | |uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]] | ||
− | |||
}} | }} |
Latest revision as of 09:23, 22 December 2022
TUFLOW Message
ERROR 0015 - Variable "a" not defined.
Alternate Message
NA
Message Type
ERROR
Description
Variables can be defined by the Set Variable command. For example, in the case below a variable “2D_CELL_SIZE” is used to set the 2D cell size of the model under different model scenarios.
In the .tcf file:
If Scenario == 2m
- Set Variable 2D_CELL_SIZE == 2
If Scenario == 5m
- Set Variable 2D_CELL_SIZE == 5
End If
In the .tgc file:
Cell Size == <<2D_CELL_SIZE>>
This error indicates the variable "a" is not defined before it is used.
Suggestions
Check to ensure variable "a" is defined.
Up |
---|
0xxx Messages |