parse_visits

grizli.pipeline.auto_script.parse_visits(files=[], field_root='', RAW_PATH='../RAW', use_visit=True, combine_same_pa=True, combine_minexp=2, is_dash=False, filters=['F410M', 'F467M', 'F547M', 'F550M', 'F621M', 'F689M', 'F763M', 'F845M', 'F200LP', 'F350LP', 'F435W', 'F438W', 'F439W', 'F450W', 'F475W', 'F475X', 'F555W', 'F569W', 'F600LP', 'F606W', 'F622W', 'F625W', 'F675W', 'F702W', 'F775W', 'F791W', 'F814W', 'F850LP', 'G800L', 'F098M', 'F127M', 'F139M', 'F153M', 'F105W', 'F110W', 'F125W', 'F140W', 'F160W', 'G102', 'G141', 'F070W', 'F090W', 'F1000W', 'F1130W', 'F115W', 'F1280W', 'F140M', 'F1500W', 'F150W', 'F150W2', 'F158M', 'F162M', 'F164N', 'F1800W', 'F182M', 'F187N', 'F200W', 'F2100W', 'F210M', 'F212N', 'F250M', 'F2550W', 'F277W', 'F300M', 'F322W2', 'F323N', 'F335M', 'F356W', 'F360M', 'F380M', 'F405N', 'F410M', 'F430M', 'F444W', 'F460M', 'F466N', 'F470N', 'F480M', 'F560W', 'F770W', 'GR150C', 'GR150R', 'GRISMR', 'GRISMC'], max_dt=1000000000.0, visit_split_shift=1.5, file_query='*')[source]

Organize exposures into “visits” by filter / position / PA / epoch

Parameters
field_rootstr

Rootname of the {field_root}_visits.yaml file to create.

RAW_PATHstr

Path to raw exposures, relative to working directory

use_visit, max_dt, visit_split_shiftbool, float, float

See parse_flt_files.

combine_same_pabool

Combine exposures taken at same PA/orient + filter across visits

combine_minexpint

Try to concatenate visits with fewer than this number of exposures

filterslist

Filters to consider

Returns
visitslist

List of “visit” dicts with keys product, files, footprint, etc.

groupslist

Visit groups for direct / grism

infoTable

Exposure summary table