libera_utils.kernel_maker.from_args#

libera_utils.kernel_maker.from_args(input_data_files: list[str], kernel_identifier: str, output_dir: str, overwrite=False, append=False, verbose=False)#

Create a SPICE kernel from an input file and kernel data product type.

Parameters:
  • input_data_files (list of str or pathlib.Path) – Input data files.

  • kernel_identifier (str or DataProductIdentifier) – Data product identifier that is associated with a kernel.

  • output_dir (str or AnyPath) – Output location for the SPICE kernels and output manifest.

  • overwrite (bool, optional) – Option to overwrite any existing similar-named SPICE kernels.

  • append (bool, optional) – Option to append to any existing similar-named SPICE kernels.

  • verbose (bool, optional) – Option to log with extra verbosity.

Returns:

Output kernel file path.

Return type:

str or AnyPath