spicetools.kernelutil.make_meta

spicetools.kernelutil.make_meta(
    *args,
    path_values='',
    path_symbols='',
    autoreplace=False,
    output='kernel_meta',
    load=False,
)

Create a kernel meta file from a list of kernel paths.

Parameters

*args : str

List of kernel paths. Some files that are avaliable within this package can be specified by using $KERNELS. For example,

::

make_meta( “\(KERNELS/lsk/naif0012.tls", "\)KERNELS/pck/gm_de440.tpc”, “$KERNELS/pck/pck00011.tpc” )

path_values : str, path-like, or list of those, default = ''

PATH_VALUES and corresponding PATH_SYMBOLS to be included in the meta file. Can be provided as a single string or a list of strings. They must have the same length. Whatever is provided, the first entry will be the default kernel path of SPICEtools (kernels/ directory) and the symbol "KERNELS" (which should be used with dollar sign as"$KERNELS" when the user uses it in args).

path_symbols : str, path-like, or list of those, default = ''

PATH_VALUES and corresponding PATH_SYMBOLS to be included in the meta file. Can be provided as a single string or a list of strings. They must have the same length. Whatever is provided, the first entry will be the default kernel path of SPICEtools (kernels/ directory) and the symbol "KERNELS" (which should be used with dollar sign as"$KERNELS" when the user uses it in args).

autoreplace : bool, default = False

If True, replace occurrences of path_values in args with corresponding path_symbols. Default is False.

output : str, path-like, default = 'kernel_meta'

Name of the output kernel meta file. Default is kernel_meta and this file without further extension will be created in the current working directory.

load : bool, default = False

If True, load the kernels after creating the meta file and return the handle. Default is False.

Returns

: None