Forum_general

General

At this page you can post questions or start discussions on general topics related to Delft3D Flexible Mesh.

Please select a proper category below (if possible), to post your message or reply to an existing post. Please add tags to your posts to simplify searching.

 

** PLEASE TAG YOUR POST! **

 

 

 

 


Message Boards

RE: Create netCDF from a text based triangular mesh with(out) Quickplot

JS
Julius Schlumberger, modified 14 Days ago.

Create netCDF from a text based triangular mesh with(out) Quickplot

Youngling Posts: 4 Join Date: 12/20/20 Recent Posts
Dear all,
I have a flexible triangular mesh grid (from SHYFEM (https://sites.google.com/site/shyfem/home)) , a text file with an extension .grd that contains all the information on nodes, elements and lines (and water depth). When trying to use Quickplot in both Suite version 2020.02 and 2021.03, it mentions that the netCDF export is still under development. It still produces a .nc file. And this can be read by QGIS when loading as a mesh but not when loaded into Delft3D-FM.
Is there any code available that explains what Quickplot is doing and what might go wrong?
Thanks and all the best,
Julius
Bert Jagers, modified 13 Days ago.

RE: Create netCDF from a text based triangular mesh with(out) Quickplot

Youngling Posts: 5 Join Date: 12/22/10 Recent Posts
Dear Julius,
QUICKPLOT writes a netCDF file containing the minimum amount of data for a UGRID compliant file. The MATLAB code for writing the netCDF file is located in the
export_netcdf
routine in qp_export. I'm happy that QGIS accepts the file, which shows that the data should be correct. It seems that both the D-Flow FM plugin of the Delta Shell environment and RGFGRID require more data in the file; at this moment I do not yet know what it is exactly. Ideally I would prefer those programs to lower the requirements to the level of a minimum UGRID file. I will discuss a way forward with my colleagues.
Best regards,
Bert
MB
Monica Bellucci, modified 12 Days ago.

RE: Create netCDF from a text based triangular mesh with(out) Quickplot

Youngling Posts: 1 Join Date: 2/25/20 Recent Posts
NetCDF files offer more adaptability and straightforwardness than some conventional raster designs by supporting different factors and definite metadata. In light of the metadata and document structure NetCDF records can be more hard to access than customary raster formats.The NetCDF file isn't set up and can be composed to finance homework solutions. At the point when completed, make certain to call close() on the informational collection.
Bert Jagers, modified 11 Days ago.

RE: Create netCDF from a text based triangular mesh with(out) Quickplot

Youngling Posts: 5 Join Date: 12/22/10 Recent Posts
Dear Julius,
For a 2D mesh, the UGRID conventions don't require a definition of the mesh edges ... only the face (triangles) need to be defined.
However, since the beginning of the Delft3D FM code the mesh edges (or mesh links) have played an important role. It seems that as a result FM currently when reading a UGRID file always the edge_node_connectivity attribute (and associated array) requires.
I'll adjust the netCDF UGRID export code in QUICKPLOT to (always or optionally) create and write the edge-node connectivity even if the original data set didn't have an explicit numbering of the edges.
Bert
JS
Julius Schlumberger, modified 9 Days ago.

RE: Create netCDF from a text based triangular mesh with(out) Quickplot

Youngling Posts: 4 Join Date: 12/20/20 Recent Posts
Dear Bert, dear Monica,
thanks you very much for your replies.
It would be great if you could give a heads up as soon the QUICKPLOT code is updated, but it seems to be a bit trickier than I hoped, so I will probably have to rebuild the grid in RGFGRID.
Thanks!
Julius