libera_utils.kernel_maker.write_kernel_setup_file#

libera_utils.kernel_maker.write_kernel_setup_file(data: dict, filepath: Path)#

Write an MSOPCK or MKSPK compatible setup file of key-value pairs. See documentation here: https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/ug/msopck.html#Input%20Data%20Format

Parameters:
  • data (dict) – Dictionary of key-value pairs to write to the setup file.

  • filepath (pathlib.Path) – Filepath to write to.

Returns:

Absolute path to written file.

Return type:

pathlib.Path