if not validate:
return
errors = validate_func(schemata, **kwargs)
if len(errors) > 0:
message = validation_pkg_error_message(errors)
> raise ValidationError(message)
E imod.schemata.ValidationError:
E - head
E - No option succeeded:
E dim mismatch: expected ('time', 'layer', 'y', 'x'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('layer', 'y', 'x'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('time', 'layer', 'mesh2d_nFaces'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('layer', 'mesh2d_nFaces'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('time', 'y', 'x'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('y', 'x'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('time', 'mesh2d_nFaces'), got ('layer', 'mesh2d_nFaces', 'time')
E dim mismatch: expected ('mesh2d_nFaces',), got ('layer', 'mesh2d_nFaces', 'time')
Bug description
clip_boxwithstate_at_boundaryargumentA
ValidiationErrorabout dimensions is thrown upon creating the state at boundary package. This happens even when the datastates_at_boundarydoesn't even have a time dimension.