Project: datamanagement
Issue DM-6612: Make HSC processing without bright object catalogs easier
obs_subaru enables bright object masks by default, as that's desirable for HSC production runs. However, when HSC data is processed without bright object masks available (as will happen in most GO observations and development use), multiBandDriver.py will fail because the BRIGHT_OBJECT mask plane is not present but the base_PixelFlags algorithm is configured to make use of it. This is confusing, and it also requires the definition of a configuration file to fix the problem because base_PixelFlags cannot be configured directly on the command-line. Some possibilities for fixing this: - Add the BRIGHT_OBJECT mask plane in AssembleCoadd if doMaskBrightObjects is True but the external catalog is not found. This will make the PixelFlags operation a silent no-op. - Allow configuration options to allow PixelFlags algorithm to silently skip some flags if the appropriate masks are not available. I am sure there are other options as well.
Story points: 2