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.

ALE in Python - load and loads

See Getting Started with ALE for an overview of ALE Installation, NAIF SPICE Data Setup, and other ALE Topics.

Basic Usage

The ale.load and ale.loads functions are the main interface for generating ISDs. Simply pass them the path to your image file/label and they will attempt to generate an ISD for it.

import ale

image_label_path = "/path/to/my/image.lbl"
isd_string = ale.loads(image_label_path)

More advanced usage can be seen in the CSM Stack Notebooks: