add with_spectral_unit for masks that have associated wcs attributes