Closed MathieuBottero closed 3 years ago
Hello, For the error of law, is it possible that you provide me a case reproducing the error so that I can fix?
For the basin, you must replace the "basins.qml" file in the db/styles_qgis3 directory of the plugin by the one at the following link (or in attachment basins.zip ): https://github.com/Artelia/Mascaret/blob/dev_API_mascaret/db/styles_qgis3/basins.qml basins.zip
The problem came from a file name generated by a Qgis function which has changed. if not it is possible to go to the properties of the basins layer. Go into "action" menu and modify the python.
Changed on line 51 : filename = 'hystogrambasins ' + str (id) + '. csv' by filename = 'histogrambasins ' + str (id) + '. csv'
This should fixed the error while waiting for the update.
Hello,
Thanks you for the basins.
You can use the following model that is on the plugin version 2.1 in order to try to reproduce the error with the steady case. mascaret_arnon.zip
Regards
Hello,
Thanks for the test case. I fixed the associated bug in the latest available version (3.1.0). This was because it is not possible to use a rating curve with the steady kernel. It must use "Firstvalue" for the law creation. So I made it impossible.
Regards
Hello,
I updated a model on Mascaret v3.07 and I now can't use anymore the steady run. The unsteady run works well, and the steady works well on Mascaret v2.1.0 with the same model. I tried to delete the old runs before.
The error message is :
=========== => ERROR <=
First line of the graph file station.loi has no time unit
The problem is station.loi is a taring curve, so there is normally no time unit on it.
I saw another issue with the version 3.0.7 when i try to create laws for basins. On version 2.1.0, I can create the law levels-area-volume with my DEM_basins. But when I am on version 3.0.7 with the same basins and the same DEM_basins, I got the message "no DEM found for Basin gid: 1" whereas the basin is into the DEM_basins.
Thanks you ! MB