You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polygon intersection not precise for pole points with more than 10k edges going into it, e.g. S43200x21600 source to O1280 target has significant under-coverage of target cells at the poles.
Tasks:
Easier diagnosis: create automatic detection of one worst example of a target cell covering to be easily visualised in python polygon viewer.
Fix problem by revision of polygon intersection algorithm
Phase 2: Not started
Problem:
The algorithm to find suitable source polygons for intersection makes use of a "compare_pointxyz" function which contains an epsilon that needs to be tweaked depending on grid resolution.
The same algorithm is expensive and contains an OpenMP "critical" region.
Tasks:
Make use of deterministic information to detect source polygons. Only source polygons which are not in the periodic halo should be considered.
Phase 3: Not started
Problem:
The algorithm loops over source polygons and finds suitable target polygons for intersection. Interpolation weight contributions are then assembled for the target polygons. This prevents efficient OpenMP parallelisation, by introducing an OpenMP "critical" region.
The resulting vector of eckit::linalg::Triplet then contains multiple triplets corresponding to the same row, col of the interpolation matrix. Before creating the interpolation matrix these are now merged into unique contributions, which is very inefficient.
Task:
Invert the algorithm to loop over target polygons to detect source polygons. Probably a can of worms...
The text was updated successfully, but these errors were encountered:
wdeconinck
changed the title
Fix issues with high resolution conservative spherical polygon interpolation
Development of efficient conservative spherical polygon interpolation
May 3, 2023
✅ Phase 1: #130
Problem:
Tasks:
Easier diagnosis: create automatic detection of one worst example of a target cell covering to be easily visualised in python polygon viewer.
Fix problem by revision of polygon intersection algorithm
Phase 2: Not started
Problem:
Tasks:
Phase 3: Not started
Problem:
eckit::linalg::Triplet
then contains multiple triplets corresponding to the same row, col of the interpolation matrix. Before creating the interpolation matrix these are now merged into unique contributions, which is very inefficient.Task:
The text was updated successfully, but these errors were encountered: