TUFLOW Message 0641

From Tuflow
Jump to navigation Jump to search

TUFLOW Message
ERROR 0641 - No X dimension found in netCDF grid file.

Alternate Message
ERROR 0641 - No Y dimension found in netCDF grid file.
ERROR 0641 - No X coordinate data found in netCDF grid file.
ERROR 0641 - No Y coordinate data found in netCDF grid file.
ERROR 0641 - GRID should have more than 1 column.
ERROR 0641 - GRID should have more than 1 row.
ERROR 0641 - Layer does not exist in netCDF grid file - "<>" >> "<>".
ERROR 0641 - Layer does not have the correct number of dimensions to be a grid: no. dim="<>" - "<>" >> "<>".
ERROR 0641 - Layer is not dimensioned by X, Y : dim="<>","<>" - "<>" >> "<>".

Message Type
ERROR

Description
This error is suggesting that the NetCDF grid is missing an "x" dimension or a "y" dimension for grid TUFLOW is trying to read. A NetCDF grid is made up of a "x" dimension, "y" dimension, and sometimes a third "time" dimension.

Other reasons for this error:

  • The error could also be triggered if the NetCDF grid only has one column or one row.
  • If the NetCDF grid is being used as an input grid for zpts, mat, soil etc then it requires the format "file.nc >> layer_name". This error is triggered if the "layer_name" was not found within the NetCDF file.
  • The order of the "x" and "y" dimensions is not correct or there are other dimensions other than "x", "y", and "time" being used.

Suggestions
Double check the validity of the NetCDF grid by loading it into a GIS program. If it is a rainfall grid, then it needs to have specific names to be compatible with TUFLOW. Check the NetCDF header content to ensure it matches the required TUFLOW names/format. The required TUFLOW format is listed here: TUFLOW NetCDF Rainfall Format.

Double check the syntax in the control file is correct and that the layer exists with the NetCDF file. Double check the header content of the NetCDF to check if the grid dimensions make sense.


Up
Go-up.png 0xxx Messages