parse_files_grizli_aws#
- niriss_tools.pipeline.parse_files_grizli_aws(data_dir, root='abell2744clu', out_path=None)[source]#
Parse files processed using grizli aws/DJA into a
dict.Only files in the correct format will be parsed, so it is safe to have other files in the same directory. The image mosaics are separated by telescope, instrument, and filter, in an attempt to avoid any namespace collisions resulting from the same filter names being used in multiple locations. Images are also separated by type. The output can optionally be saved to a YAML file to avoid reading all of the headers again (this can be extremely slow if working with large, compressed mosaics).
- Parameters:
- Returns:
dictA dictionary containing the relevant files in the directory, separated by telescope, instrument, and filter.