TUFLOW Message 0657: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4:
|type=[[ERROR]]
|message_desc=The input grid cell width (dx) is not the same as the cell height (dy) which means that the raster input is using rectangular cells rather than square cells.
|suggestions=
|suggestions=Check the process on how the grid was generated. If exported from another program, check if there is an option to set the output resolution and re-export. If it isn't possible to change the export options (e.g. the raster is downloaded from a government webpage and there aren't any export options) then the raster will need to be converted into square cells using a program like QGIS, ArcGIS, or GDAL. In QGIS, the option to change the raster resolution is available in the dialog after right clicking they layer and selecting "Export >> Save As". If using GDAL (gdal_translate.exe), the target resolution can be set using <tt>"-tr <xres> <yres>"</tt>.
* Check the process on how the grid was generated. If possible, check if there is an option to set the output resolution and re-export.
* If it isn't possible to change the export options (e.g. the raster is downloaded from a government webpage and there aren't any export options) then the raster will need to be converted into square cells using a program like QGIS, ArcGIS, or GDAL.
* In QGIS, use the "warp" tool to reproject the grid to a Cartesian coordinate system.
* If using GDAL (gdal_translate.exe), the target resolution can be set using <tt>"-tr <xres> <yres>"</tt>.
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
}}