Hi Matt,

I'm not a Mesh expert either, but I use (and create) netcdf using python using 
the
https://github.com/Unidata/netcdf4-python module

Netcdf is pretty good supported in QGIS in my experience
Our data has also a time dimension so we use the CF convention [0] and fiddling around with the so called UGRID convention [1] But maybe that is both too much for a simple tin...

I Googled:
https://stackoverflow.com/questions/48864357/convert-hdf5-to-netcdf4-in-bash-r-python-or-ncl
as being able to convert hdf5 to netcdf... didn't/couldn't try/test though..

Regards,

Richard Duivenvoorde

[0] https://en.wikipedia.org/wiki/Climate_and_Forecast_Metadata_Conventions
[1] http://ugrid-conventions.github.io/ugrid-conventions/#data-variables

On 8/26/22 03:32, Matt Boyd via Qgis-user wrote:
Thanks, thats pretty helpful.
I'm running QGIS 3.26.2-Buenos Aires installed from osgeo.
under the xdmf directory there the xmf/hdf files look pretty similar
to what I'm using but they won't load. there's a partial duplicate of
the data in the hdf file in that directory as a 2dm file which does
work.
I'm still not sure if I'm supposed to be able to load the xmf/hdf
files directly using mdal? I can easily drop out my hdf5 data to the
2dm format is this the proposed way to do it?

Thanks again
Matt

On Fri, Aug 26, 2022 at 4:09 AM Delaz J via Qgis-user
<qgis-user@lists.osgeo.org> wrote:

Hi Matt,

The mdal repo has a number of mesh data
(https://github.com/lutraconsulting/MDAL/tree/master/tests/data) but
whether these are simple meshes/formats or not is beyond my
understanding of this data type.

Hope that helps,

Harrissou

Le 25/08/2022 à 09:41, Matt Boyd via Qgis-user a écrit :

Hi QGIS people,
I asked something like this a couple of years ago, managed to find
some workarounds and now that I know a little more about what I'm
doing I could use a bit of help.
I've got some simple tin meshes that I'd like to drop into QGIS, they
get generated in a python modelling software I'm using.
The data all sits in a single hdf5 file, points with coordinates, the
cells which are just the indexes of 3 points, plus attributes for each
point. About the simplest mesh setup I can imagine.
I'm trying to find the simplest format that mdal supports with an
example dataset so I can make something similar. (ideally hdf5 so I
don't need to work out how to use anything new in python).

Any tips?
Thanks
Matt
_______________________________________________
Qgis-user mailing list
Qgis-user@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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to