Issue JP-4169 was created on JIRA by Ned Molter:
Currently, if a single source in the direct image / segmentation map input to the wfss_contam step is larger than the max_pixels_per_chunk parameter, that source is skipped with a warning.
There are real direct image sources, e.g. relatively nearby galaxies, that can span over 100k pixels, which is larger than the default chunk size.
The chunking logic should be updated to allow these sources to process in multiple chunks, then get reconstructed into a single slit.
We may want to still emit warnings for sources that are larger than a certain size – these are often caused by a bad segmentation map, so it might be worth nudging the user to re-check the segmentation map.