Difference between revisions of "TUFLOW Message 2334"

From Tuflow
Jump to navigation Jump to search
(Created page with "{{TUFLOW_Message |tuflow_message=ERROR 2334- |alt_msg=NA |type=ERROR |message_desc= |suggestions= |discussion_page=* Discuss Message 2333 |li...")
 
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{TUFLOW_Message
 
{{TUFLOW_Message
|tuflow_message=ERROR 2334-  
+
|tuflow_message=ERROR 2334 - Reading ESRI Grid file or premature end of file.
|alt_msg=NA
+
|alt_msg=ERROR 2334 - Exceeded limit of rainfall grids in file
 
|type=[[ERROR]]
 
|type=[[ERROR]]
|message_desc=
+
|message_desc=This indicates that the ESRI ascii grid file does not contain a valid grid, or the file is incomplete.  This file 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:<br>
|suggestions=
+
<tt>
|discussion_page=* [[Talk:TUFLOW Message 2333|Discuss Message 2333]]
+
ncols        2284<br>
|link3=''
+
nrows        3916<br>
|link4=''
+
xllcorner    0.0<br>
|prelink=[[TUFLOW_Message_2333|Message 2333]]
+
yllcorner    0.0<br>
 +
cellsize      5.0<br>
 +
NODATA_value  -9999<br></tt>
 +
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.
 +
 
 +
|suggestions=<u>Error 2334 - Reading ESRI Grid file or premature end of file</u><br>Open the 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>
 +
*<u>[[VM_Export_to_ASC| MapInfo with Vertical Mapper]]</u>
 +
*<u>[[Arc_Export_Raster_to_asc|ArcMap]]</u>
 +
*<u>[[QGIS_Export_Raster_to_asc|QGIS]]</u>
 +
<u>Error 2334 - Exceeded limit of rainfall grids in file</u><br>
 +
There is a limit of 1000 rainfall grid entries in your bc_dbase. If you have more than 1000 this error will appear. <br>
 +
 
 +
<u>Error 2334 - Reading Grid file header information</u><br>
 +
Ensure the NODATA_value is set to -9999.
 +
 
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2350|Message 2350]]
 
 
}}
 
}}

Latest revision as of 11:20, 1 February 2024

TUFLOW Message
ERROR 2334 - Reading ESRI Grid file or premature end of file.

Alternate Message
ERROR 2334 - Exceeded limit of rainfall grids in file

Message Type
ERROR

Description
This indicates that the ESRI ascii grid file does not contain a valid grid, or the file is incomplete. This file 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.

Suggestions
Error 2334 - Reading ESRI Grid file or premature end of file
Open the 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:

Error 2334 - Exceeded limit of rainfall grids in file
There is a limit of 1000 rainfall grid entries in your bc_dbase. If you have more than 1000 this error will appear.

Error 2334 - Reading Grid file header information
Ensure the NODATA_value is set to -9999.


Up
Go-up.png 2xxx Messages