lutraconsulting / qgis-crayfish-plugin

Plotting and manipulating mesh data in QGIS.
http://www.lutraconsulting.co.uk/products/crayfish/
Other
62 stars 24 forks source link

When an ASCII dataset (*.dat) contains status flags, Crayfish misinterprets the dataset #347

Closed jamaa closed 6 years ago

jamaa commented 6 years ago

ASCII Datasets (.dat) can contain so-called "status flags" (look for istat in the [documentation](https://www.xmswiki.com/wiki/SMS:ASCII_Dataset_Files_.dat)). When these are present, Crayfish loads the dataset without complaining, but the displayed data clearly shows that the dateset has been misinterpreted.

When status flags are present, the dateset contains a status value (usually 1) for each node of the mesh before listing the actual data values.

saberraz commented 6 years ago

Do you have an example file?

jamaa commented 6 years ago

I sent you the link to a sample dataset by email

PeterPetrik commented 6 years ago

Data loading is done in MDAL for QGIS 3.4 release. Please reopen the ticket in the MDAL bug tracker with attached small (<3MB) example file.