- rubin_sim.maf.run_comparison.download_runs(runs, dest_dir=None, runs_source=None, clobber=False)¶
Download opsim visit databases for specified runs to a local directory.
pandas.DataFrameor iterable [
pandas.DataFrameis provided, the
OpsimRuncolumn will be used to get run names, and data will be read from the url specified in the
urlcolumn. If a collection of
stris provided, these will be interpreted as run names supplied by data originating in the run metadata provided by the
The local directory into which to write downloaded visit databases.
File name or URL for the json file from which to load the metadata. If it is set to
None, the data is loaded from the URL specified by the
archive.RUNS_SOURCEconstant. This parameter is ignored if the
runsparameter is set to a
False, runs that would clobber an existing file will be skipped. If
True, existing files will be overwritten.
Metadata on runs downloaded (in the same structure as the return of