Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The flowgeom file format will match the configured map file format. If MapFormat is set to 4, then D-Flow FM will produce a valid UGRID file. With MapFormat set to 1 it will produce a format that looks very much like UGRID, but is not the same. Delft-FEWS can only use valid UGRID files. Using MapFormat 1 files with Delft-FEWS may cause problems.

If you have set MapFormat = 4, but the flowgeom file produced by D-Flow FM still causes errors in Delft-FEWS, then you may need to update to a newer version of DFlow-FM (1.2.2 or later). Note that in that case, you can manually create a valid flowgeom from the map file by removing all variables that depend on time from the netcdf file. This can be done using the third party command line tool nccopy, using a command like this (with uppercase -V):

nccopy -V mesh2d,wgs84,mesh2d_node_x,mesh2d_node_y,mesh2d_node_z,mesh2d_edge_nodes,mesh2d_edge_x,mesh2d_edge_y,mesh2d_edge_x_bnd,mesh2d_edge_y_bnd,mesh2d_face_nodes,mesh2d_face_x,mesh2d_face_y,mesh2d_face_x_bnd,mesh2d_face_y_bnd,mesh2d_FlowElem_ba,mesh2d_FlowElem_bl,mesh2d_edge_type

Nccopy is part of the NetCDF library binary distribution.

Config Examples

Code Block
languagexml
<irregular locationId="meshLocation">
	<netcdfFile>
		<file>simplebox_hex7_map.nc</file>
		<meshTopologyVariableName>insert_mesh_variable_name_here</meshTopologyVariableName>
		<staggerLocation>face</staggerLocation>
	</netcdfFile>
</irregular>

...