-
Notifications
You must be signed in to change notification settings - Fork 8
[ana3;in3] add check for aimec new coordinate system #1225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Files with Diff Coverage (3)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
9feb136 to
8ab6715
Compare
remove unused imports add pytest remove unused return variable
4c4ecaa to
e895c31
Compare
add parameter to ini file# only show warning add info in docs remove unused return var
3ec509c to
ebeaa3b
Compare
|
Standardtests ident |
…findIntSectCoors` - Added tests for `checkOverlapDBXYWithData` to validate grid intersection detection with various scenarios, including no intersection, intersecting lines, and output shape verification. - Added tests for `findIntSectCoors` to validate intersection point indexing with test cases for single-point, tolerance-based, and out-of-grid scenarios.

In the aimec analysis a new coordinate system is defined along the thalweg (avaDir/Inputs/LINES/path_aimec.shp). If the provided line has too much curvature, this can introduce overlapping parts (with respect to the original data in cartesian coordinates) in the new coordinate system.
In this PR, the introduced checks are:
Currently disabled check - requires more ressources:
5. if the 2. check shows overlapping regions and this coincides with regions where datafield != 0 (that is analysed) -> error and produce a plot indicating where the overlap ocurs
The second check would also cover errors of the first check, however it saves computational time if the first check already fails.