[Qgis-user] Storing Irregular Mesh and Simulation Data for QGIS
Saber Razmjooei
saber.razmjooei at lutraconsulting.co.uk
Thu Jan 23 00:59:41 PST 2025
Hi Lilas,
As Richard mentioned, UGRID is a good choice. It also has the capability to
store stacked mesh (2.5D or layered 3D), fully 3D unstructured and 1D
elements.
In theory, you should be able to use any formats supported by MDAL and QGIS
should read the data out of the box:
https://github.com/lutraconsulting/MDAL?tab=readme-ov-file#supported-formats
Kind regards
Saber
On Wed, 22 Jan 2025 at 11:43, Richard Duivenvoorde via QGIS-User <
qgis-user at lists.osgeo.org> wrote:
> Hi Lilas,
>
> In my bubble we use NetCDF for that.
>
> First the NetCDF-CF convention (regular grids + time dimension):
> http://cfconventions.org/
>
> But now the UGRID convention
> http://ugrid-conventions.github.io/ugrid-conventions/
> adding irregular grid functionality
>
> QGIS (via MDAL) is pretty good in (fast) visualising this using the
> Temporal Controller.
>
> Some example data in the test directory of the MDAL code:
> https://github.com/lutraconsulting/MDAL/tree/master/tests/data/ugrid
>
> Some hurdles:
> - netcdf is pretty loose in it's definition: sometimes it is hard to get
> the file format right
> - loading/styling a mesh in QGIS involves a lot of steps
> - QGIS still has some small issues, my main one: always missing the last
> timestep :-) but there are more (like not handling negative time steps ...)
>
> I do have some python code laying around for a simple plugin, which 'just
> load and visualizes' a netcdf (based on some color ramp txt files. Let me
> know if you would be interested in that.
>
> HTH & Regards,
>
> Richard Duivenvoorde
>
>
> On 22-01-2025 11:18, Lilas Bugeau via QGIS-User wrote:
> > Dear all,
> >
> >
> > I am currently working on a project and I have a question about the file
> format I should use so that I can open it in QGIS.
> >
> >
> > Specifically, I need to store data from an irregular mesh and the
> results of a hydrological simulation on that mesh in a binary file.
> >
> > My main requirement is that the file format should allow me to visualize
> both the mesh and the simulation results in QGIS, including the use of the
> temporal control panel. So I need to store all the time steps from the
> simulation within the file.
> >
> > If anyone has experience with a suitable file format or can point me to
> resources or solutions for this, I’d really appreciate it.
> >
> >
> > Thank you in advance for your time and assistance.
> >
> >
> > Best regards,
> >
> >
> > Lilas Bugeau
> >
> >
> > _______________________________________________
> > QGIS-User mailing list
> > QGIS-User at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
Saber Razmjooei
CO-Founder
lutraconsulting.co.uk
<https://www.linkedin.com/in/saber-razmjooei/>
<https://www.youtube.com/@LutraConsulting>
<https://github.com/lutraconsulting>
<https://www.facebook.com/lutraconsulting>
<https://www.lutraconsulting.co.uk/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250123/d090ac08/attachment.htm>
More information about the QGIS-User
mailing list