grizli.utils.parse_visit_overlaps(visits, buffer=15.0)[source]

Find overlapping visits/filters to make combined mosaics

visits : list

Output list of visit information from parse_flt_files. The script looks for files like visits[i]['product']+'_dr?_sci.fits' to compute the WCS footprint of a visit. These are produced, e.g., by process_direct_grism_visit.

buffer : float

Buffer, in arcsec, to add around visit footprints to look for overlaps.

exposure_groups : list

List of overlapping visits, with similar format as input visits.