write_visit_info

grizli.pipeline.auto_script.write_visit_info(visits, groups, info, root='j033216m2743', path='./')[source]

Write visit association files

Parameters
visitslist

List of visit dictionaries

groupslist

Optional ist of direct/grism visit groups

infoTable

Exposure info

rootstr

Output basename

pathstr

Output path

Returns
dataNone

Writes objects to {path}/{root}_visits.yaml