Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-27177

Remove lsst.afw.image.Filter

    XMLWordPrintable

    Details

      Description

      Remove wavelength information and the defineFilters method from obs.base.FilterDefinition (this requires changes to all obs packages). Once this is done, remove the Filter class and its supporting infrastructure. These two actions should be done on the same ticket because removing defineFilters potentially invalidates any remaining use of Filter.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment - - edited

            Following discussion on #dm-naming-things, we want the final API to be Exposure::getFilter(), ExposureFitsReader::readFilter(), and butler.get(exposure.filter). Once Filter is removed, these names are available for immediate(?) reuse, along with deprecation of getFilterLabel() and .filterLabel.

            Show
            krzys Krzysztof Findeisen added a comment - - edited Following discussion on #dm-naming-things , we want the final API to be Exposure::getFilter() , ExposureFitsReader::readFilter() , and butler.get(exposure.filter) . Once Filter is removed, these names are available for immediate(?) reuse, along with deprecation of getFilterLabel() and .filterLabel .
            Hide
            krzys Krzysztof Findeisen added a comment -

            I'm claiming this for June, since I just realized that we're finally unblocked on this with the merging of DM-28334 in March. Not sure if we can get it in before the version 24 fork...

            Show
            krzys Krzysztof Findeisen added a comment - I'm claiming this for June, since I just realized that we're finally unblocked on this with the merging of DM-28334 in March. Not sure if we can get it in before the version 24 fork...
            Hide
            krzys Krzysztof Findeisen added a comment - - edited

            Thanks for agreeing to look at this, Jim Bosch! This issue both removes all the old Filter structure and replaces it with new getFilter methods (per the above comments). In addition to the final Jenkins check, I verified that Science Pipelines didn't break when all the old code was removed, but the new methods/components had not yet been added.

            In addition to all the PRs linked from Jira, there's also ap_pipe#112. The most substantial changes are in afw#639 and obs_base#422.

            Show
            krzys Krzysztof Findeisen added a comment - - edited Thanks for agreeing to look at this, Jim Bosch ! This issue both removes all the old Filter structure and replaces it with new getFilter methods (per the above comments). In addition to the final Jenkins check, I verified that Science Pipelines didn't break when all the old code was removed, but the new methods/components had not yet been added. In addition to all the PRs linked from Jira, there's also ap_pipe#112 . The most substantial changes are in afw#639 and obs_base#422 .
            Hide
            jbosch Jim Bosch added a comment -

            Reviewed!  Only comment is in afw; one code comment that got changed to getFilterLabel and then didn't get chanced back that I could see.

            Thanks for the attention to detail and the git-commit precision and consistency; that made this very easy to review.

            Show
            jbosch Jim Bosch added a comment - Reviewed!  Only comment is in afw; one code comment that got changed to getFilterLabel and then didn't get chanced back that I could see. Thanks for the attention to detail and the git-commit precision and consistency; that made this very easy to review.

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              Jim Bosch
              Watchers:
              Eric Bellm, Ian Sullivan, Jim Bosch, John Parejko, Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.