Ribasim icon indicating copy to clipboard operation
Ribasim copied to clipboard

imod timeseries plugin shows edge_id as float

Open Huite opened this issue 1 year ago • 2 comments

The flow.arrow contains flow on the basins, with the edge_id as NaN for non-edge flows. The imod plugin does a groupby operation with the edge_id. During reading, the NaNs mean that the edge_id is float-encoded.

Would be fixed if this specific table doesn't contain the "vertical" flows.

Alternative is to filter away these rows in the read_arrow function.

Huite avatar Mar 26 '24 09:03 Huite

Yes we will remove both edge_id (https://github.com/Deltares/Ribasim/issues/1310) and the "vertical" flows from flow.arrow, either would fix this.

visr avatar Mar 26 '24 09:03 visr

Alright -- great, then no changes in the QGIS plugins are required.

Huite avatar Mar 26 '24 09:03 Huite

Not sure why, but this is fixed now:

Image

Technically the greyed out ID column should read "edge_id" not "fid", since the name of the primary key column in the Edge table is "edge_id". GeoPackage doesn't require that it is called "fid".

visr avatar Dec 23 '24 10:12 visr