pypeit.scripts.pypeit_status module

Script to check and display the status of a PypeIt reduction without actually running any processing steps.

class pypeit.scripts.pypeit_status.PypeItStatus[source]

Bases: ScriptBase

The pypeit_status console script: report a reduction’s calibration and science status without running any processing.

Generated by JXP and Claude.

classmethod get_parser(width=None)[source]

Construct the command-line argument parser.

Generated by JXP and Claude.

Parameters:

width (int, optional) – Restrict the formatted help width to this many characters.

Returns:

The command-line parser.

Return type:

argparse.ArgumentParser

classmethod main(args)[source]

Check and print a PypeIt reduction’s status without processing.

Loads the reduction in calib_only mode, derives the calibration status from the on-disk Calibrations/ outputs (a status-only read, no processing), derives the science-frame status from the on-disk Science/ products (see derive_science_from_disk()), and pretty-prints both (print_status()).

Generated by JXP and Claude.

Parameters:

args (argparse.Namespace) – The parsed command-line arguments.

Returns:

0 on success.

Return type:

int

classmethod name()[source]

Return the name of the executable.

Generated by JXP and Claude.

Returns:

The script name, pypeit_status.

Return type:

str