lutraconsulting / MDAL

Mesh Data Abstraction Library
http://www.mdal.xyz/
MIT License
160 stars 50 forks source link

No velocity arrows for Hec RAS data (Face Velocity) #197

Closed saberraz closed 4 years ago

saberraz commented 4 years ago

When adding this mesh layer in QGIS: https://github.com/lutraconsulting/MDAL/blob/master/tests/data/hec2d/2dmodel_5.0.5/temp.p01.hdf

The Face Velocity dataset should contain velocity arrows.

PeterPetrik commented 4 years ago

From h5dump it seems that both Face Velocity and Face Sheer Stress are scalar values.

                           DATASET "Face Velocity" {
                              DATATYPE  H5T_IEEE_F32LE
                              DATASPACE  SIMPLE { ( 61, 114 ) / ( H5S_UNLIMITED, 114 ) }

                           DATASET "Face Shear Stress" {
                              DATATYPE  H5T_IEEE_F32LE
                              DATASPACE  SIMPLE { ( 61, 114 ) / ( H5S_UNLIMITED, 114 ) }

@erpas Can you confirm that Face Velocity is scalar?

erpas commented 4 years ago

According to HEC-RAS 2D Manual: obraz