libera_utils.kernel_maker.from_args#
- libera_utils.kernel_maker.from_args(input_data_files: list[str | CloudPath | Path], kernel_identifier: str | DataProductIdentifier, output_dir: str | CloudPath | Path, overwrite=False, append=False, verbose=False) CloudPath | Path #
Create a SPICE kernel from an input file and kernel data product type.
- Parameters:
input_data_files (list[str, filenaming.PathType]) – Input data files.
kernel_identifier (str | DataProductIdentifier) – Data product identifier that is associated with a kernel.
output_dir (str | filenaming.PathType) – Output location for the SPICE kernels and output manifest.
overwrite (bool) – Option to overwrite any existing similar-named SPICE kernels.
append (bool) – Option to append to any existing similar-named SPICE kernels. If multiple input files are provided with append=False, the first file will create a new kernel, and subsequent files will append to it.
verbose (bool) – Option to log with extra verbosity.
- Returns:
Output kernel file path.
- Return type:
filenaming.PathType