code: def build_referenceWCS(catalog_list):
      
      wcslist = []
      for catalog in catalog_list:
          for scichip in catalog.catalogs:
              wcslist.append(catalog.catalogs[scichip]['wcs'])
      return utils.output_wcs(wcslist)
docs: Compute default reference WCS from list of Catalog objects.