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

DC2 singleFrameDriver Failure: FilterLabel(physical="z_sim_1.4") has no band.

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_lsst
    • Labels:
      None
    • Story Points:
      1
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      singleFrameDriver failing for DC2 (with w_2021_08 and w_2021_12) with error
      FilterLabel(physical="z_sim_1.4") has no band.

      Command is:

      singleFrameDriver.py /datasets/DC2/repoRun2.2i --rerun w_2021_08/DM-28966/sfm --batch-type slurm --mpiexec='-bind-to socket' --job dc2sfm08 --cores 24 --time 900  --id visit=159471^159491^159507^183772^183773^183818^183912^193780^193781^193827^194862^221574^221575^221577^221614^221615^221616^254358^254359^254379 --configfile /home/emorgan2/HSC/DC2/filter_config.py --clobber-config;
      /

      filter_config.py text is:

      DC2_filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
      DC2_filterMap.update({_: f'lsst_{_}_smeared' for _ in 'ugrizy'})
      config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap
      config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap
      /

      or alternately:

      config.processCcd.calibrate.astromRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
      config.processCcd.calibrate.photoRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
      /

      Error is

      Traceback (most recent call last):
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/cmdLineTask.py", line 431, in __call__
          result = self.runTask(task, dataRef, kwargs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/cmdLineTask.py", line 495, in runTask
          return task.runDataRef(dataRef, **kwargs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_drivers/21.0.0-4-g3af6bfd+64d2251902/python/lsst/pipe/drivers/singleFrameDriver.py", line 83, in runDataRef
          result = self.processCcd.runDataRef(sensorRef)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/timer.py", line 157, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_tasks/21.0.0-38-g070523fc+2384b0eea2/python/lsst/pipe/tasks/processCcd.py", line 191, in runDataRef
          calibRes = self.calibrate.runDataRef(
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/timer.py", line 157, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_tasks/21.0.0-38-g070523fc+2384b0eea2/python/lsst/pipe/tasks/calibrate.py", line 586, in runDataRef
          calRes = self.run(
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/timer.py", line 157, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_tasks/21.0.0-38-g070523fc+2384b0eea2/python/lsst/pipe/tasks/calibrate.py", line 729, in run
          astromRes = self.astrometry.run(
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/timer.py", line 157, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/meas_astrom/21.0.0-4-g591bb35+760f7344ed/python/lsst/meas/astrom/astrometry.py", line 152, in run
          res = self.solve(exposure=exposure, sourceCat=sourceCat)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-10-g560fb7b+5f2ca89aed/python/lsst/pipe/base/timer.py", line 157, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/meas_astrom/21.0.0-4-g591bb35+760f7344ed/python/lsst/meas/astrom/astrometry.py", line 183, in solve
          expMd = self._getExposureMetadata(exposure)
        File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/meas_astrom/21.0.0-4-g591bb35+760f7344ed/python/lsst/meas/astrom/ref_match.py", line 257, in _getExposureMetadata
          filterName = filterLabel.bandLabel if filterLabel is not None else None
      RuntimeError: FilterLabel(physical="z_sim_1.4") has no band.
      /

        Attachments

          Issue Links

            Activity

            No builds found.
            emorganson Eric Morganson [X] (Inactive) created issue -
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment -

            As a note: this is not specific to the z_band. That's just the error I copied and pasted.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - As a note: this is not specific to the z_band. That's just the error I copied and pasted.
            Hide
            jbosch Jim Bosch added a comment -

            There may be a workaround in config-land (I'm not super familiar with this corner of it, so I'm not sure) but I think there must be a code bug, too; we should not be creating a FilterLabel with no bandLabel anywhere that I can think of.

            Show
            jbosch Jim Bosch added a comment - There may be a workaround in config-land (I'm not super familiar with this corner of it, so I'm not sure) but I think there must be a code bug, too; we should not be creating a FilterLabel with no bandLabel anywhere that I can think of.
            jbosch Jim Bosch made changes -
            Field Original Value New Value
            Status To Do [ 10001 ] In Progress [ 3 ]
            jbosch Jim Bosch made changes -
            Assignee Jim Bosch [ jbosch ]
            Hide
            jbosch Jim Bosch added a comment -

            The problem is in LsstCamMapper:

            https://github.com/lsst/obs_lsst/blob/master/python/lsst/obs/lsst/lsstCamMapper.py#L462

            Will have a branch shortly.

            Show
            jbosch Jim Bosch added a comment - The problem is in LsstCamMapper: https://github.com/lsst/obs_lsst/blob/master/python/lsst/obs/lsst/lsstCamMapper.py#L462 Will have a branch shortly.
            Hide
            jbosch Jim Bosch added a comment -

            Ok, branch tickets/DM-29446 of obs_lsst should fix this, and I've cherry-picked that onto branch u/jbosch/w.2021.12+DM-29446, which has no other changes since w_2021_12, in order to maximize consistency with everything else (I presume) you're running. Care to give that a try?

            Show
            jbosch Jim Bosch added a comment - Ok, branch tickets/ DM-29446 of obs_lsst should fix this, and I've cherry-picked that onto branch u/jbosch/w.2021.12+ DM-29446 , which has no other changes since w_2021_12 , in order to maximize consistency with everything else (I presume) you're running. Care to give that a try?
            Hide
            tjenness Tim Jenness added a comment -

            Is this related to DM-29335 ?

            Show
            tjenness Tim Jenness added a comment - Is this related to DM-29335 ?
            jbosch Jim Bosch made changes -
            Link This issue relates to DM-29335 [ DM-29335 ]
            Hide
            krzys Krzysztof Findeisen added a comment - - edited

            I took a look at the branch, and I'm a bit confused that LsstCamMapper bypasses the filter handling in _standardizeExposure and then rolls its own. What's the reason for this? The best solution for DM-29313 (a more generic version of the filter population problem) may depend on how important it is for obs_lsst to not use generic filter code...

            Show
            krzys Krzysztof Findeisen added a comment - - edited I took a look at the branch, and I'm a bit confused that LsstCamMapper bypasses the filter handling in _standardizeExposure and then rolls its own. What's the reason for this? The best solution for DM-29313 (a more generic version of the filter population problem) may depend on how important it is for obs_lsst to not use generic filter code...
            krzys Krzysztof Findeisen made changes -
            Link This issue relates to DM-29313 [ DM-29313 ]
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment - - edited

            Getting the same error. Used:
            . /software/lsstsw/stack/loadLSST.bash
            setup lsst_distrib -t w_2021_08
            setup -k -v -r /home/emorgan2/SOFTWARE/obs_lsst
            singleFrameDriver.py /datasets/DC2/repoRun2.2i --rerun w_2021_08/DM-28966/sfm --batch-type slurm --mpiexec='-bind-to socket' --job dc2sfm08 --cores 24 --time 900 --id visit=254380^254381^254407^271920^400440^419000^419806^430094^466279^479264^480908^484236^484266^174534^177481^192355^204706^204708^211099^211100 --configfile /home/emorgan2/HSC/DC2/filter_config.py --clobber-config --clobber-versions;

            config.processCcd.calibrate.astromRefObjLoader.filterMap = {f'{_}sim_1.4': f'lsst{_}_smeared' for _ in 'ugrizy'}
            config.processCcd.calibrate.photoRefObjLoader.filterMap = {f'{_}sim_1.4': f'lsst{_}_smeared' for _ in 'ugrizy'}

            Where:
            cd /home/emorgan2/SOFTWARE/obs_lsst
            git branch
            master

            Sample log:
            https://lsst.ncsa.illinois.edu/~emorgan2/DM-28966/dc2sfm08.o49930

            Includes many iterations of
            24263 FATAL 2021-03-28T16:15:28.228-0500 singleFrameDriver: Failed on dataId=

            {'visit': 159507, 'run': '159507', 'raftName': 'R02', 'expId': 159507, 'detectorName': 'S11', 'detector': 13}

            : RuntimeError: FilterLabel(physical="g_sim_1.4") has no band.
            RuntimeError: FilterLabel(physical="g_sim_1.4") has no band.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - - edited Getting the same error. Used: . /software/lsstsw/stack/loadLSST.bash setup lsst_distrib -t w_2021_08 setup -k -v -r /home/emorgan2/SOFTWARE/obs_lsst singleFrameDriver.py /datasets/DC2/repoRun2.2i --rerun w_2021_08/ DM-28966 /sfm --batch-type slurm --mpiexec='-bind-to socket' --job dc2sfm08 --cores 24 --time 900 --id visit=254380^254381^254407^271920^400440^419000^419806^430094^466279^479264^480908^484236^484266^174534^177481^192355^204706^204708^211099^211100 --configfile /home/emorgan2/HSC/DC2/filter_config.py --clobber-config --clobber-versions; config.processCcd.calibrate.astromRefObjLoader.filterMap = {f'{_} sim_1.4': f'lsst {_}_smeared' for _ in 'ugrizy'} config.processCcd.calibrate.photoRefObjLoader.filterMap = {f'{_} sim_1.4': f'lsst {_}_smeared' for _ in 'ugrizy'} Where: cd /home/emorgan2/SOFTWARE/obs_lsst git branch master remotes/origin/tickets/ DM-29446 Sample log: https://lsst.ncsa.illinois.edu/~emorgan2/DM-28966/dc2sfm08.o49930 Includes many iterations of 24263 FATAL 2021-03-28T16:15:28.228-0500 singleFrameDriver: Failed on dataId= {'visit': 159507, 'run': '159507', 'raftName': 'R02', 'expId': 159507, 'detectorName': 'S11', 'detector': 13} : RuntimeError: FilterLabel(physical="g_sim_1.4") has no band. RuntimeError: FilterLabel(physical="g_sim_1.4") has no band.
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment -

            I realized I don't really understand the -k option in setup. So I reran with
            setup -v -r /home/emorgan2/SOFTWARE/obs_lsst
            And got the same result.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - I realized I don't really understand the -k option in setup. So I reran with setup -v -r /home/emorgan2/SOFTWARE/obs_lsst And got the same result.
            Hide
            jbosch Jim Bosch added a comment - - edited

            Eric Morganson [X],

            So, Lauren MacArthur spotted a bug in my code on the PR, which I've now fixed (on both tickets/DM-29446 and u/jbosch/w.2021.12+DM-29446). She reports that with that branch and this config override together, single-frame processing works for her (at least I think that's what she meant):

            DC2_filterMap = {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'}
            config.calibrate.astromRefObjLoader.filterMap = DC2_filterMap
            config.calibrate.photoRefObjLoader.filterMap = DC2_filterMap
            

            To use that branch of obs_lsst, I would recommend doing the following:

            $ setup lsst_distrib -t w_2021_12
            $ git clone https://github.com/lsst/obs_lsst.git
            $ cd obs_lsst
            $ git checkout u/jbosch/w.2021.12+DM-29446
            $ setup -v -j -r .
            

            There are ways to do this with -k ("use already set-up packages for dependencies") instead of -j ("only set up this package and don't even try to set up its dependencies"), but I think it's harder to go wrong with -j.

            Krzysztof Findeisen,

            I'm a bit confused that LsstCamMapper bypasses the filter handling in _standardizeExposure and then rolls its own. What's the reason for this?

            I don't understand it fully, and I don't know if it has to roll its own filter stuff, but I at least wasn't surprised to find that it did, because LSST's raws are laid out quite differently on disk from most of our other cameras (one amp per HDU), and in Gen2 that's implemented via composites and a _raw dataset type, so the code path for loading raws is overall quite unique.

            Show
            jbosch Jim Bosch added a comment - - edited Eric Morganson [X] , So, Lauren MacArthur spotted a bug in my code on the PR, which I've now fixed (on both tickets/ DM-29446 and u/jbosch/w.2021.12+ DM-29446 ). She reports that with that branch and this config override together, single-frame processing works for her (at least I think that's what she meant): DC2_filterMap = {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'} config.calibrate.astromRefObjLoader.filterMap = DC2_filterMap config.calibrate.photoRefObjLoader.filterMap = DC2_filterMap To use that branch of obs_lsst, I would recommend doing the following: $ setup lsst_distrib -t w_2021_12 $ git clone https://github.com/lsst/obs_lsst.git $ cd obs_lsst $ git checkout u/jbosch/w.2021.12+DM-29446 $ setup -v -j -r . There are ways to do this with -k ("use already set-up packages for dependencies") instead of -j ("only set up this package and don't even try to set up its dependencies"), but I think it's harder to go wrong with -j . Krzysztof Findeisen , I'm a bit confused that LsstCamMapper bypasses the filter handling in _standardizeExposure and then rolls its own. What's the reason for this? I don't understand it fully, and I don't know if it has to roll its own filter stuff, but I at least wasn't surprised to find that it did, because LSST's raws are laid out quite differently on disk from most of our other cameras (one amp per HDU), and in Gen2 that's implemented via composites and a _raw dataset type, so the code path for loading raws is overall quite unique.
            tjenness Tim Jenness made changes -
            Component/s obs_lsst [ 16504 ]
            Team Data Release Production [ 10301 ]
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment -

            Thanks on the -j -k discussion. That actually is how I thought it worked. The documentation briefly convinced me that it these affected how many directories it dug down rather than dependencies.

            Running with filter conversion:

            DC2_filterMap =

            {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'}

            config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap
            config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap

            Where ".processCcd" has been added. I assume this is just the vagaries of python module loading.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - Thanks on the -j -k discussion. That actually is how I thought it worked. The documentation briefly convinced me that it these affected how many directories it dug down rather than dependencies. Running with filter conversion: DC2_filterMap = {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'} config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap Where ".processCcd" has been added. I assume this is just the vagaries of python module loading.
            krzys Krzysztof Findeisen made changes -
            Link This issue blocks DM-25629 [ DM-25629 ]
            Hide
            lauren Lauren MacArthur added a comment -

            I was running processCcd.py, so it can't be there...but it needs to be when running singleFrameDriver.py.

            Show
            lauren Lauren MacArthur added a comment - I was running processCcd.py , so it can't be there...but it needs to be when running singleFrameDriver.py .
            Hide
            jbosch Jim Bosch added a comment -

            Lauren MacArthur, since you've already looked at the code and checked that it works, could you sign off on the review for this?

            Eric Morganson [X], I'm going to proceed on the assumption that this fix will work for you, too, and that if you run into a new problem it's best as a new ticket. But please let me know if this doesn't seem to be working.

            Show
            jbosch Jim Bosch added a comment - Lauren MacArthur , since you've already looked at the code and checked that it works, could you sign off on the review for this? Eric Morganson [X] , I'm going to proceed on the assumption that this fix will work for you, too, and that if you run into a new problem it's best as a new ticket. But please let me know if this doesn't seem to be working.
            jbosch Jim Bosch made changes -
            Reviewers Lauren MacArthur [ lauren ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            Hide
            lauren Lauren MacArthur added a comment -

            Yep...I confirm this change along with the filterMap config override worked for me on a processCcd.py run using w_2021_13 + your tickets/DM-29446 branch.  Presumably the filterMap issue needs resolving (on another ticket, though!)?

            Show
            lauren Lauren MacArthur added a comment - Yep...I confirm this change along with the filterMap  config override worked for me on a processCcd.py  run using w_2021_13 + your tickets/ DM-29446 branch.  Presumably the filterMap  issue needs resolving (on another ticket, though!)?
            lauren Lauren MacArthur made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue is duplicated by DM-29335 [ DM-29335 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue relates to DM-29335 [ DM-29335 ]
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment - - edited

            This fix has not worked for me.

            To show current setup:

            setup lsst_distrib -t w_2021_08 # also lsst-distrib w_2021_12
            setup -v -r /home/emorgan2/SOFTWARE/obs_lsst # Have also tried with -k and -j option
            singleFrameDriver.py /datasets/DC2/repoRun2.2i --rerun w_2021_08/DM-28966/sfm --batch-type slurm --mpiexec='-bind-to socket' --job dc2sfm08 --cores 24 --time 900  --id visit=159471^159491^159507^183772^183773^183818^183912^193780^193781^193827^194862^221574^221575^221577^221614^221615^221616^254358^254359^254379 --configfile /home/emorgan2/HSC/DC2/filter_config_2021_12.py --clobber-config --clobber-versions;
            

            filter_config_2021_12.py is:

            DC2_filterMap = {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'}
            config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap
            config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap
            

            Have also tried:

            DC2_filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
            DC2_filterMap.update({_: f'lsst_{_}_smeared' for _ in 'ugrizy'})
            config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap
            config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap
            

            And

            config.processCcd.calibrate.astromRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
            config.processCcd.calibrate.photoRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'}
            

            Produces error:

            RuntimeError: FilterLabel(physical="g_sim_1.4") has no band.
            Traceback (most recent call last):
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/cmdLineTask.py", line 431, in __call__
                result = self.runTask(task, dataRef, kwargs)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/cmdLineTask.py", line 495, in runTask
                return task.runDataRef(dataRef, **kwargs)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_drivers/21.0.0-4-g3af6bfd+64d2251902/python/lsst/pipe/drivers/singleFrameDriver.py", line 83, in runDataRef
                result = self.processCcd.runDataRef(sensorRef)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/timer.py", line 157, in wrapper
                res = func(self, *args, **keyArgs)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_tasks/21.0.0-58-g436064c8+549a115573/python/lsst/pipe/tasks/processCcd.py", line 181, in runDataRef
                exposure = self.isr.runDataRef(sensorRef).exposure
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/timer.py", line 157, in wrapper
                res = func(self, *args, **keyArgs)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrTask.py", line 1719, in runDataRef
                isrData = self.readIsrData(sensorRef, ccdExposure)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrTask.py", line 1148, in readIsrData
                if self.config.doFringe and self.fringe.checkFilter(rawExposure)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/fringe.py", line 257, in checkFilter
                return checkFilter(exposure, self.config.filters, log=self.log)
              File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrFunctions.py", line 897, in checkFilter
                elif thisFilter.bandLabel in filterList:
            

            Sorry I have been late responding. I have been tweaking a lot of knobs.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - - edited This fix has not worked for me. To show current setup: setup lsst_distrib -t w_2021_08 # also lsst-distrib w_2021_12 setup -v -r /home/emorgan2/SOFTWARE/obs_lsst # Have also tried with -k and -j option singleFrameDriver.py /datasets/DC2/repoRun2.2i --rerun w_2021_08/DM-28966/sfm --batch-type slurm --mpiexec='-bind-to socket' --job dc2sfm08 --cores 24 --time 900 --id visit=159471^159491^159507^183772^183773^183818^183912^193780^193781^193827^194862^221574^221575^221577^221614^221615^221616^254358^254359^254379 --configfile /home/emorgan2/HSC/DC2/filter_config_2021_12.py --clobber-config --clobber-versions; filter_config_2021_12.py is: DC2_filterMap = {band:'lsst_%s_smeared' % (band) for band in 'ugrizy'} config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap Have also tried: DC2_filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'} DC2_filterMap.update({_: f'lsst_{_}_smeared' for _ in 'ugrizy'}) config.processCcd.calibrate.astromRefObjLoader.filterMap = DC2_filterMap config.processCcd.calibrate.photoRefObjLoader.filterMap = DC2_filterMap And config.processCcd.calibrate.astromRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'} config.processCcd.calibrate.photoRefObjLoader.filterMap = {f'{_}_sim_1.4': f'lsst_{_}_smeared' for _ in 'ugrizy'} Produces error: RuntimeError: FilterLabel(physical="g_sim_1.4") has no band. Traceback (most recent call last): File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/cmdLineTask.py", line 431, in __call__ result = self.runTask(task, dataRef, kwargs) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/cmdLineTask.py", line 495, in runTask return task.runDataRef(dataRef, **kwargs) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_drivers/21.0.0-4-g3af6bfd+64d2251902/python/lsst/pipe/drivers/singleFrameDriver.py", line 83, in runDataRef result = self.processCcd.runDataRef(sensorRef) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/timer.py", line 157, in wrapper res = func(self, *args, **keyArgs) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_tasks/21.0.0-58-g436064c8+549a115573/python/lsst/pipe/tasks/processCcd.py", line 181, in runDataRef exposure = self.isr.runDataRef(sensorRef).exposure File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/pipe_base/21.0.0-15-g361d225+ff3912ea15/python/lsst/pipe/base/timer.py", line 157, in wrapper res = func(self, *args, **keyArgs) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrTask.py", line 1719, in runDataRef isrData = self.readIsrData(sensorRef, ccdExposure) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrTask.py", line 1148, in readIsrData if self.config.doFringe and self.fringe.checkFilter(rawExposure) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/fringe.py", line 257, in checkFilter return checkFilter(exposure, self.config.filters, log=self.log) File "/software/lsstsw/stack_20210211/stack/miniconda3-py38_4.9.2-0.4.1/Linux64/ip_isr/21.0.0-10-g17396bd+2c5eba4060/python/lsst/ip/isr/isrFunctions.py", line 897, in checkFilter elif thisFilter.bandLabel in filterList: Sorry I have been late responding. I have been tweaking a lot of knobs.
            emorganson Eric Morganson [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            emorganson Eric Morganson [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Done [ 10002 ] To Do [ 10001 ]
            Hide
            emorganson Eric Morganson [X] (Inactive) added a comment -

            Worked with Jim and my own git problems. Can confirm it works now.

            Show
            emorganson Eric Morganson [X] (Inactive) added a comment - Worked with Jim and my own git problems. Can confirm it works now.
            emorganson Eric Morganson [X] (Inactive) made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            emorganson Eric Morganson [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Done [ 10002 ]
            Hide
            lauren Lauren MacArthur added a comment -

            Phew...was just starting to try to reproduce (failing so far!)

            Show
            lauren Lauren MacArthur added a comment - Phew...was just starting to try to reproduce (failing so far!)
            Hide
            yusra Yusra AlSayyad added a comment -

            Preops because DC2-specific

            Show
            yusra Yusra AlSayyad added a comment - Preops because DC2-specific
            yusra Yusra AlSayyad made changes -
            Epic Link PREOPS-450 [ 463950 ]
            yusra Yusra AlSayyad made changes -
            Story Points 1

              People

              Assignee:
              jbosch Jim Bosch
              Reporter:
              emorganson Eric Morganson [X] (Inactive)
              Reviewers:
              Lauren MacArthur
              Watchers:
              Eric Morganson [X] (Inactive), Jim Bosch, John Parejko, Krzysztof Findeisen, Lauren MacArthur, Tim Jenness, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.