TUFLOW Message 2333: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1:
{{TUFLOW_Message
|tuflow_message=ERROR 2333 - Insufficient header information in ASCIIexternal grid file. Check format of file.
|alt_msg=ERROR 2333 - Insufficient header information in ASCII grid file. Check format of file.<br>
|alt_msg=NA
ERROR 2333 - Reading rainfall grid file <filename>
|type=[[ERROR]]
|message_desc=This message indicates that the file is not in the ESRI ASCII grid format. This format (usually has the extension .asc or .txt) andfile is a plain text file (not binary) and can be opened in a text editor. At the toprecognised offormats the file, information on the size of the grid, the cell size and coordinates should be displayed. An example iswhich beloware:<br>
'''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:<br>
<tt>
ncols 2284<br>
Line 11 ⟶ 13:
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.<br>
'''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>
*<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>
<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.
 
|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 2333|Discuss Message 2333]]
|link3=''
|link4=''
|prelink=[[TUFLOW_Message_2321|Message 2321]]
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2334|Message 2334]]
}}