Difference between revisions of "TUFLOW Message 2333"

From Tuflow
Jump to navigation Jump to search
Line 21: Line 21:
 
<br>
 
<br>
 
Ensure that the "<tt><font color="blue">Read GRID</font></tt>" command is only used for gridded data.  For GIS data in ESRI Shapefile or MapInfo MIF format, the "<tt><font color="blue">Read GIS</font></tt>" command is required instead.
 
Ensure that the "<tt><font color="blue">Read GRID</font></tt>" command is only used for gridded data.  For GIS data in ESRI Shapefile or MapInfo MIF format, the "<tt><font color="blue">Read GIS</font></tt>" command is required instead.
|discussion_page=* [[Talk:TUFLOW Message 2333|Discuss Message 2333]]
+
 
|link3=''
 
|link4=''
 
 
|prelink=[[TUFLOW_Message_2331|Message 2331]]
 
|prelink=[[TUFLOW_Message_2331|Message 2331]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|nextlink=[[TUFLOW_Message_2334|Message 2334]]
 
|nextlink=[[TUFLOW_Message_2334|Message 2334]]
 
}}
 
}}

Revision as of 16:14, 6 July 2022

TUFLOW Message
ERROR 2333 - Insufficient header information in external grid file. Check format of file.

Alternate Message
ERROR 2333 - Insufficient header information in ASCII grid file. Check format of file.
ERROR 2333 - Reading rainfall grid file <filename>

Message Type
ERROR

Description
This message indicates that the grid file is not in the recognised formats which are:
ESRI ASCII grid - this format usually has the extension .asc or .txt and is a plain text file (not binary) and can be opened in a text editor. At the top of the file, information on the size of the grid, the cell size and coordinates should be displayed. An example is below:
ncols 2284
nrows 3916
xllcorner 0.0
yllcorner 0.0
cellsize 5.0
NODATA_value -9999
After the header information should follow the ncols x nrows of data. If the file is not in a similar format to the above, the file is most likely not in the correct format.
BINARY grids (.flt format) - this format is a binary version of the above .asc. It is comprised of two files .hdr which is plain text and contains the information listed above and .flt which contains the grid data.

Suggestions
Open the .asc or .hdr file in a text editor to ensure that the file is in the correct format. If not, this may need to be re-exported from your GIS package. Instructions for doing so in command GIS packages are below:


Ensure that the "Read GRID" command is only used for gridded data. For GIS data in ESRI Shapefile or MapInfo MIF format, the "Read GIS" command is required instead.


Up
Go-up.png 2xxx Messages