-
Notifications
You must be signed in to change notification settings - Fork 167
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
Investigate possible replacements for opencv functions in jump step #8230
Comments
Comment by Howard Bushouse on JIRA: From Zach Burnett : Possible options going forward: restore
|
Comment by Anton Koekemoer on JIRA: This issue was discussed in JWST CalWG Meeting 2023-03-07 and here are the steps forward from that discussion:
|
Comment by Michael Regan on JIRA: I think we need to look at this as cost/benefit issue. Can someone find out how many people had problems and what their problems are? It doesn't make sense to spend resources without knowing what the underlying problem is. As far as I can tell the number of people having problems is less than five. This implies a non-mainstream OS or an unsupported version. And the answer is that I tested with NIRSpec darks and MIRI darks. Beyond the unit tests I did a lot of comparisons between the diff frames and groupdq extension to search for false positive and false negative detections of both showers and snowballs. The snowball detection has a very high sensitivity and specificity. For showers the sensitivity is lower (see Build 9.2 for updated version) but the specificity is still high. |
Comment by Anton Koekemoer on JIRA: Thanks very much Mike. For (edited to replace "SCSB folks" with a tag to Howard Bushouse who is representing SCSB on the watchlist) |
Comment by Zach Burnett on JIRA: Hello! This issue comes from https://jira.stsci.edu/browse/AL-691 Here are the incidents where external users were unable to install the pipeline due to failure to build User on MacOS 10.14.6 (Mojave), on a 2.6 GHz Intel Core i7 on Python 3.10: It seems that the issue is limited to only a few users / platforms. We could probably add |
Comment by Anton Koekemoer on JIRA: thanks very much Zach Burnett for the additional details. Indeed MacOS 10.14.6 is pretty antique, I think Apple stopped supporting it in 2021. So I agree a feasible path forward is to continue with opencv-python at this time, and that we resolve this issue by placing a statement on the github jwst repo that this particular vintage setup is not supported. |
Comment by Zach Burnett on JIRA: as a status update on this, I do still occasionally get tickets lamenting the inability to install the pipeline on older macOS hardware because of the OpenCV dependency. I have been informing these users that unfortunately they need to update their hardware, or alternatively use Linux, to install the pipeline. |
I think this can be resolved; the relevant warning statement is on the pipeline installation page, and supporting increasingly-outdated OS versions isn't a priority. Ongoing jump step revisions exploring a different algorithm may end up resolving this issue anyway though. |
Issue JP-3120 was created on JIRA by Howard Bushouse:
As originally documented in JP-3109, the use of "opencv-python" functions in the snowball/shower correction added to the jump step has caused some dependency issues for external users (although not very many) and also just adds yet another dependency to the jwst package. Hence we'd like to explore solutions to this, either in the form of finding a way for external users to be able to reliably install that package or find equivalent functions from existing dependencies (e.g. astropy, scikit-image, etc.) to replace the opencv functions.
The text was updated successfully, but these errors were encountered: