NTv2 bicubic method could benefit from better error catching in 'edge' cases.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start with GeodePy.ntv2reader.ntv2_bicubic() and compare its results with the NTv2 bilinear method near every grid extent. Use the attached error examples to reproduce the binary-read and computation failures. Done means edge-case interpolation no longer reads outside the binary file or produces incorrect shifts, while the documented rare extent exceptions may remain.
Written by the indexing model from the issue text.
Description
GeodePy.ntv2reader.ntv2_bicubic() demonstrate errors of various severity when interpolating within 1 grid node of the grid extents.
A comparison against the NTv2 bilinear method is a good way to identify such issues (differences are much larger than elsewhere in same region).
Examples are provided in the attached document GeodePy Issue170 Ntv2 bicubic error examples (1pg)
Issues include:
- binary file read errors occur within 54 arcsec (i.e. grid spacing) of southern extent of first grid, and northern extent of last grid
- i.e. trying to read outside of the binary file
- computation errors occur within 54 arcsec (i.e. grid spacing) of all extents, likely reading incorrectly from neighbouring part of binary file
- some shifts differ by centimetres, others by kilometres)
- Note only: Coordinates directly on Western extents are occasionally returned as 'outside of grid extents’
Note only: Coordinates directly on Northern extents are always returned as 'outside of grid extents’
These exceptions COULD be handled (use just those grid nodes available) but the use-cases are rare. Ok to leave as is.
- Dominant language
- Python
- Stars
- 117
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GeoscienceAustralia/GeodePy
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GeoscienceAustralia/GeodePy#169 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
GeoscienceAustralia/GeodePy#100 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
GeoscienceAustralia/GeodePy#171 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GeoscienceAustralia/GeodePy#150 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
GeoscienceAustralia/GeodePy#132 ·
All issues in GeoscienceAustralia/GeodePy
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100