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.

ISIS Documentation

isisimport

Convert from an external format, non-ISIS format using template files to an ISIS Cube.

NOTE: This program and the associated template files are incomplete. The documentation describes what the eventual intended capabilities are. Many capabilities are not implemented at this time.

Reads an input label file and image file. The contents of the ISIS cube label file are generated using the template file specified by the TEMPLATE parameter.

This application uses the Inja templating engine to render the template file. The input data from the input label is converted to JSON and then it is accessed via the Inja templating syntax. See the Inja documentation for the full template syntax.


Categories


History

Kristin Berry and Amy Stamile2021-05-17 Original version

Parameters

Files

This is the label to be ingested to an ISIS Cube. It's assumed that the image is located in the same directory.
Type cube
File Mode input
Filter *.xml

The Inja-compatible template used to generate the ISIS Cube label. By default, isisimport automatically selects the appropriate template based on the input file type. Specify this parameter only if you wish to override the default with a custom template file. To modify an existing template, refer to the files located in $ISISROOT/appdata/import/PDS3 or $ISISROOT/appdata/import/PDS4.
Type filename
File Mode input
Internal Default auto-selected

The ingested ISIS Cube.
Type cube
File Mode output

Overides

This parameter may be necessary as some input files may not contain a target name or it may be incorrect. Some Dawn EDRs have this issue.

Type string
Internal Default Label Value

Debug

This output file is used to dump the contents of the JSON structure used by the template engine as its source of data.
Type filename
Internal Default Optional JSON output

Example 1

Default usage of isisimport

This example is for a PDS4 image that uses .xml labels. For isisimport to work, it is expected to have the associated .img file within the same directory.

Command Line

isisimport from=input.xml to=output.cub

Example 2

Usage of isisimport using custom templates

Command Line

isisimport from=input.xml to=custom.cub template=my_custom_template.tpl