nens / threedi-api-qgis-client

3Di Models & Simulations plugin
https://plugins.lizard.net/
Other
2 stars 0 forks source link

Use column names instead of column ordering to read CSV files #560

Closed hoanphungt closed 1 month ago

leendertvanwolfswinkel commented 1 month ago

@hoanphungt as just discussed please ignore any extra columns in the CSV files without producing an error

hoanphungt commented 1 month ago

@leendertvanwolfswinkel I added new checks for substance and laterals csv files. For substances, it checks if "id" and "timeseries" are present in the header. For 1d laterals, it checks if "id", "timeseries" and "connection_node_id" are present. For 2d laterals, it checks for "id", "timeseries", "x", "y" are present in the header. ("x" and "y" are case insensitive)

leendertvanwolfswinkel commented 1 month ago

@hoanphungt tested, please merge