Hello,
Since V7P3, the default file format is "SERAFIN?" while possible values are SERAFIN, SERAFIND, MED.
It seems to cause several issues when I use PostTelemac (Qgis plugin for visualisation and computation) or when I try to import the result file in Qgis 3.10 using mdal.
If I force the result file format in cas file using FORMAT DU FICHIER DES RESULTATS ='SERAFIN' (RESULTS FILE FORMAT ='SERAFIN'), both PostTelemac and mdal work fine.
If we look closer and if we compare the structure of a serafin file (
gdal.org/drivers/vector/selafin.html#full-structure), we can see that the result file using "SERAFIN?" key-word is not correct.
a string of 80 characters with the title of the study; the last 8 characters shall be “SERAPHIN” or “SERAFIN” or “SERAFIND”;
Using a binary reader, we can see that the last 8 caracters are blank.
When if force the file format to "SERAFIN", the last 8 caracters are indeed "SERAFIN". (see attached files)
Is that a mistake or feature ?
Regards,
Nicolas