LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Functions | Variables
cmd.commands Namespace Reference

Functions

def convert (*args, **kwargs)
 
def ingest_raws (*args, **kwargs)
 
def register_instrument (*args, **kwargs)
 
def write_curated_calibrations (*args, **kwargs)
 

Variables

 required
 
 help
 
 multiple
 
 True
 
 callback
 

Function Documentation

◆ convert()

def cmd.commands.convert ( args,
**  kwargs 
)
Convert a Butler gen 2 repository into a gen 3 repository.

Definition at line 49 of file commands.py.

49 def convert(*args, **kwargs):
50  """Convert a Butler gen 2 repository into a gen 3 repository."""
51  cli_handle_exception(script.convert, *args, **kwargs)
52 
53 
54 @click.command()
55 @repo_argument(required=True)
56 @config_option()
57 @config_file_option()
58 @run_option(required=True)
59 @click.option("-d", "--dir", "directory",
60  help="The path to the directory containing the raws to ingest.")
61 @click.option("-f", "--file", help="The name of a file containing raws to ingest.")
62 @transfer_option()
63 @click.option("--ingest-task", default="lsst.obs.base.RawIngestTask", help="The fully qualified class name "
64  "of the ingest task to use.")

◆ ingest_raws()

def cmd.commands.ingest_raws ( args,
**  kwargs 
)

Definition at line 65 of file commands.py.

65 def ingest_raws(*args, **kwargs):
66  cli_handle_exception(script.ingestRaws, *args, **kwargs)
67 
68 
69 @click.command()
70 @repo_argument(required=True)
71 @instrument_option(required=True, help="The fully-qualified name of an Instrument subclass.")

◆ register_instrument()

def cmd.commands.register_instrument ( args,
**  kwargs 
)
Add an instrument to the data repository.

Definition at line 72 of file commands.py.

72 def register_instrument(*args, **kwargs):
73  """Add an instrument to the data repository.
74  """
75  cli_handle_exception(script.registerInstrument, *args, **kwargs)
76 
77 
78 @click.command()
79 @repo_argument(required=True)
80 @instrument_option(required=True)
81 @run_option(required=True)

◆ write_curated_calibrations()

def cmd.commands.write_curated_calibrations ( args,
**  kwargs 
)
Add an instrument's curated calibrations to the data repository.

Definition at line 82 of file commands.py.

82 def write_curated_calibrations(*args, **kwargs):
83  """Add an instrument's curated calibrations to the data repository.
84  """
85  cli_handle_exception(script.writeCuratedCalibrations, *args, **kwargs)

Variable Documentation

◆ callback

cmd.commands.callback

Definition at line 44 of file commands.py.

◆ help

cmd.commands.help

Definition at line 32 of file commands.py.

◆ multiple

cmd.commands.multiple

Definition at line 44 of file commands.py.

◆ required

cmd.commands.required

Definition at line 31 of file commands.py.

◆ True

cmd.commands.True

Definition at line 44 of file commands.py.

cmd.commands.register_instrument
def register_instrument(*args, **kwargs)
Definition: commands.py:72
cmd.commands.write_curated_calibrations
def write_curated_calibrations(*args, **kwargs)
Definition: commands.py:82
cmd.commands.convert
def convert(*args, **kwargs)
Definition: commands.py:49
cmd.commands.ingest_raws
def ingest_raws(*args, **kwargs)
Definition: commands.py:65