Skip to content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Using Web Spice in ISIS and ALE

ISIS

Update your IsisPreferences under $CONDA_PREFIX to enable the web SpiceQL feature.

Group = SpiceQL
  UseSpiceQL = "true"
EndGroup

spiceinit

The ISIS app spiceinit has two driver engines: ISIS and ALE. Setting the web=yes parameter in spiceinit will use the old ISIS SPICE webserver but you will still need to download the base directory and mission-specific shape models to your ISISDATA path. If your IsisPreferences has the web SpiceQL feature enabled, spiceinit will use SpiceQL via the ALE engine to load kernels and no local data area will be necessary.

ALE

Set the props param to use web SpiceQL by setting the web property to True.

Generate an ISD

import ale

ale.load("<path-to-lbl>.cub", props={"web": True}, formatter='ale', verbose=False, only_isis_spice=False, only_naif_spice=True)
For developers

Additional environment variables that can be set:
- SPICEQL_REST_URL - Point to a custom SpiceQL instance URL
- ALESPICEQL_LOG_LEVEL - Turn on debugging with debug