Skip to content

Create model cleanup utilities #1164

Closed
Closed
@JoerivanEngelen

Description

@JoerivanEngelen

With the introduction of model validation, users now have some good feedback of what is wrong to their model, for example a model that I recently imported:

E           imod.schemata.ValidationError:
E           Simulation validation status:
E               * imported_model model:
E                       * riv-2riv package:
E                               * stage:
E                                       * not all values comply with criterion: >= bottom_elevation
E                       * riv-3riv package:
E                               * stage:
E                                       * not all values comply with criterion: >= bottom_elevation
E                       * riv-5riv package:
E                               * stage:
E                                       * not all values comply with criterion: >= bottom_elevation
E                               * conductance:
E                                       * nodata is not aligned with stage
E                               * bottom_elevation:
E                                       * nodata is not aligned with stage
E                               not all values comply with criterion: >= bottom
E                       * riv-5drn package:
E                               * conductance:
E                                       * nodata is not aligned with elevation

However there is not so much guidance on how to fix things. To help them, I think we could create some cleanup utilities, which need to be very well documented on how they clean up data. Users then still need to make the calls to the functions themselves, so that they are aware what they are doing.

Requirements

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions