SPICE kernels are essential for enabling the various functionalities provided by SPICE (spiceypy). However, if kernels are loaded multiple times—such as during object initialization or within repeatedly called functions—it can lead to slower performance and potential memory issues.
Another approach is to load all required kernels once at the beginning of the user’s application script, ensuring they are available throughout the session without redundant loading.
SPICE kernels are essential for enabling the various functionalities provided by SPICE (
spiceypy). However, if kernels are loaded multiple times—such as during object initialization or within repeatedly called functions—it can lead to slower performance and potential memory issues.Another approach is to load all required kernels once at the beginning of the user’s application script, ensuring they are available throughout the session without redundant loading.