mast_query_from_file_list

grizli.utils.mast_query_from_file_list(files=[], os_open=True)[source]

Generate a MAST query on datasets in a list.

Parameters
fileslist, optional

List of filenames to generate the MAST query. If not provided, it will search for all “*raw.fits” files in the current directory.

os_openbool, optional

If True, open the MAST query URL in the default web browser. Default is True.

Returns
URLstr or False

The MAST query URL if os_open is False. False if no files are specified or found.