Difference between revisions of "TUFLOW Message 2334"

From Tuflow
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 14: Line 14:
  
 
|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>
 
|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>
*[[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>
 
<u>Error 2334 - Exceeded limit of rainfall grids in file</u><br>
 
<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.  
+
There is a limit of 1000 rainfall grid entries in your bc_dbase. If you have more than 1000 this error will appear. <br>
|discussion_page=* [[Talk:TUFLOW Message 2334|Discuss Message 2334]]
+
 
|link3=''
+
<u>Error 2334 - Reading Grid file header information</u><br>
|link4=''
+
Ensure the NODATA_value is set to -9999.
|prelink=[[TUFLOW_Message_2333|Message 2333]]
+
 
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2348|Message 2335]]
 
 
}}
 
}}

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