Difference between revisions of "TUFLOW Message 2333"

From Tuflow
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
'''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.
 
'''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:<br>
 
|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:<br>
*[[VM_Export_to_ASC| MapInfo with Vertical Mapper]]
+
*<u>[[VM_Export_to_ASC| MapInfo with Vertical Mapper]]</u>
*[[Arc_Export_Raster_to_asc|ArcMap]]
+
*<u>[[Arc_Export_Raster_to_asc|ArcMap]]</u>
*[[QGIS_Export_Raster_to_asc|QGIS]]
+
*<u>[[QGIS_Export_Raster_to_asc|QGIS]]</u>
 
<br>
 
<br>
Ensure that the "<tt>Read GRID</tt>" command is only used for gridded data.  For GIS data in ESRI Shapefile or MapInfo MIF format, the "<tt>Read GIS</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_2330|Message 2330]]
 
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2334|Message 2334]]
 
 
}}
 
}}

Latest revision as of 14:36, 7 February 2023

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