-
Notifications
You must be signed in to change notification settings - Fork 169
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
cnetcheck not excluding ignored measures resulting in false positives #4649
Comments
Alternative: How to reproduce The traditional alternative to cnetcombinept is cnetedit. Here is the result using this approach:
|
@KrisBecker Could you send over the files to reproduce this error? Also I am not exactly sure what the problem here is, should we be seeing no islands in the second output? I understand that we may be seeing islands that don't exist but I don't understand what you mean by bad points |
I can pretty much guarantee that the files I send you would not be sufficient to reproduce this problem. I have made significant changes to the Rosetta OSIRIS camera model that is incompatible with the current version. I can point you to the code where I think the problem is. Note that there is no check for a valid measure in the noLatLonCheck() method. Specifically, this loop on measure checks associated with serial numbers (cubes) tests for ignored points, but I don't see any such check for an ignored measure, which would prevent testing the point associated with it - a false positive. Hopefully this is enough information to verify the problem. Also, if you could, please run a quick check of the rest of code for similar issues. |
ISIS version(s) affected: All
Description
cnetcheck is not properly excluding ignored measures when, at a minimum, checking for invalid latitude/longitudes and islands. These situations occur rather frequently when using feature matching, which does find points on limbs.
The net effect of this bug is reports of bad points and islands than don't actually exist.
Below are processing steps that provide the evidence of these problems, but it is in an older version of ISIS (~3.6). However, I have reviewed the code in the current version and have concluded the problem exists there as well (i.e., the code is identical in both versions).
Its possible ignored points are part of the problem as well.
How to reproduce
The following processing sequence shows the steps used to demonstrate the bug. I have only included pertinent output between runs for brevity:
Possible Solution
There needs to be additional tests that check for ignored measures added to the lat/lon and island functions. A more thorough review of cnetcheck might be indicated as well.
Clearly you can work around this problem by cleaning first, but there are certainly cases where you may want to run additional processing to attempt to salvage the data as much as possible. Its still a bug, nonetheless.
Additional context
None
The text was updated successfully, but these errors were encountered: