"Double" cutout factor, to avoid weird geometries after reprojection when combining surveys with different orientations (e.g. diamond-like cutouts). E.g. first, a large cutout is made, then the resulting file is reprojected, and finally a second, smaller cutout is made. However, this is provisional, we should find a more elegant solution for this.
Added a progress bar. The tool takes eons when cropping 100s of sources, so this is useful. It can be removed in the future when converting scutout into a service, or kept only for the CLI version.
Read BUNIT from metadata table and pass it to convertImgToJyPixel to avoid errors due to missing BUNIT after mosaicking.
Some relatively big changes:
"Double" cutout factor, to avoid weird geometries after reprojection when combining surveys with different orientations (e.g. diamond-like cutouts). E.g. first, a large cutout is made, then the resulting file is reprojected, and finally a second, smaller cutout is made. However, this is provisional, we should find a more elegant solution for this.
Added a progress bar. The tool takes eons when cropping 100s of sources, so this is useful. It can be removed in the future when converting scutout into a service, or kept only for the CLI version.
Read BUNIT from metadata table and pass it to convertImgToJyPixel to avoid errors due to missing BUNIT after mosaicking.