gen_pygcg_outputs#
- niriss_tools.pipeline.gen_pygcg_outputs(grizli_home_dir, field_name='passage-par682', out_dir=None, zipfile_kwargs={'compression': 8})[source]#
Create an archive with the files required for PJ-Watson/pyGCG.
- Parameters:
- grizli_home_dir
os.PathLike Directory containing the usual grizli folders, e.g.
"Prep","visits".- field_name
str, optional The name of the field, by default
"passage-par682".- out_dir
os.PathLike|None, optional The output directory. If
None(default), the archive will be saved togrizli_home_dir.- zipfile_kwargs
dict, optional Additional keyword arguments to pass through to
zipfile.ZipFile, by default{"compression": zipfile.ZIP_DEFLATED}.
- grizli_home_dir
- Returns:
PathThe path to the zipped archive.