spice.pckernels

spice.pckernels

Functions

Name Description
download_file Download a file from a URL to a local path.
get_kernel Get the path to a PCK kernel file, downloading it if necessary.

download_file

spice.pckernels.download_file(url, local_path, overwrite=False)

Download a file from a URL to a local path.

get_kernel

spice.pckernels.get_kernel(version='v11', data_dir=Path('.') / 'pck_kernels')

Get the path to a PCK kernel file, downloading it if necessary.