...
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 map.nc flowgeom.nc
The tool nccopy Nccopy is part of the NetCDF library binary distribution.
...