Difference between revisions of "TUFLOW Message 2334"

From Tuflow
Jump to navigation Jump to search
Line 3: Line 3:
 
|alt_msg=NA
 
|alt_msg=NA
 
|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>
 +
nrows        3916<br>
 +
xllcorner    0.0<br>
 +
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=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]]
 +
*[[Arc_Export_Raster_to_asc|ArcMap]]
 +
*[[QGIS_Export_Raster_to_asc|QGIS]]
 +
|discussion_page=* [[Talk:TUFLOW Message 2334|Discuss Message 2334]]
 
|link3=''
 
|link3=''
 
|link4=''
 
|link4=''

Revision as of 15:47, 19 May 2015

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

Alternate Message
NA

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
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:


Up
Go-up.png 2xxx Messages