AstarVienna / METIS_Simulations

Scripts for simulating METIS with ScopeSim
1 stars 0 forks source link

add parameter --catg #48

Closed oczoske closed 4 months ago

oczoske commented 4 months ago

New parameter --procatg (-p) allows to specify a comma-separated list of file categories that the script shall produce, e.g. run_recipes.py -p DARK_2RG_RAW,DARK_GEO_RAW An error is raised if any of specified categories do not exist in the yaml file.

Short versions of the arguments have been added (-i, -o, -s, -p).

Downloading of the instrument packages is deferred until after argument parsing and checking. This necessitated putting the import from raw_script into the run() function, which is a bit dodgy.