uvex_transients.cli.phase_space.dry_run_report#

uvex_transients.cli.phase_space.dry_run_report(phase_space_config: PhaseSpaceConfig, out_dir: Path, specs: list[MapSpec], overwrite: bool, resume: bool) → tuple[list[str], bool][source]#

Describe what a run would do, without loading the schedule, sampling or writing anything.

Parameters:
  • phase_space_config (PhaseSpaceConfig) – The parsed run-config.

  • out_dir (pathlib.Path) – The directory the run would write to.

  • specs (list of MapSpec) – The maps that would run.

  • overwrite (bool) – The flags the run would have.

  • resume (bool) – The flags the run would have.

Returns:

  • lines (list of str) – The report.

  • ok (bool) – Whether the run would proceed: false if a band is not one of the mission’s or a map would hit existing output.