gen_linefinding_outputs#

niriss_tools.pipeline.gen_linefinding_outputs(grizli_home_dir, field_name='passage-par682', new_field_name='Par682', out_dir=None, zipfile_kwargs={'compression': 8})[source]#

Create an archive with the files required for jwstwfss/linefinding.

Parameters:
grizli_home_diros.PathLike

Directory containing the usual grizli folders, e.g. "Prep", "visits".

field_namestr, optional

The name of the field, by default "passage-par682".

new_field_namestr, optional

The linefinding-compatible field name, by default "Par682".

out_diros.PathLike | None, optional

The output directory. If None (default), the archive will be saved to grizli_home_dir.

zipfile_kwargsdict, optional

Additional keyword arguments to pass through to zipfile.ZipFile, by default {"compression": zipfile.ZIP_DEFLATED}.

Returns:
Path

The path to the zipped archive.