GRASS logo

NAME

p.out.isis - Export a GRASS raster map to an ISIS3 cube file.
Writes a GRASS raster to an ISIS3 .cub file using GDAL's ISIS3 driver, then appends mission metadata keywords to the PVL label (TargetName, InstrumentId, GRASS provenance).

KEYWORDS

Planetary, Import & Export, export, raster, ISIS3

SYNOPSIS

p.out.isis
p.out.isis --help
p.out.isis input=name output=string [type=string] [target=string] [instrument=string] [--help] [--verbose] [--quiet] [--ui]

Flags:

--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=name [required]
Name of input raster map
output=string [required]
Output ISIS3 cube file path (.cub)
type=string
Output data type (GDAL type name)
Options: Byte, Int16, UInt16, Int32, Float32, Float64
Default: Float32
target=string
Target body name (e.g. Mars, Moon) added to ISIS3 label
instrument=string
Instrument name added to ISIS3 label

Table of contents

DESCRIPTION

p.out.isis exports one or more GRASS raster maps to an ISIS3 cube file (.cub). A minimal PVL label is written (512-byte block) followed by pixel data in BSQ organisation with the pixel type chosen to best preserve the GRASS DCELL value range without overflow.

When exporting a single raster the output cube is single-band. When exporting an imagery group (with the group option) the cube is multi-band with bands ordered by the group registration sequence.

The output cube is readable directly by ISIS3 applications such as qview, catlab, spiceinit, and cam2map.

NOTES

Default output pixel type is 32-bit IEEE float (Real). Use type=s16 for signed 16-bit integer output if the data range permits, which halves file size.

Scaling (SCALING_FACTOR, OFFSET) is written to the ISIS3 label when the input raster has non-unit calibration parameters.

EXAMPLES

Export a photometrically corrected raster to ISIS3 cube:

p.out.isis input=photomet_result output=photomet.cub

Export a multi-band group to ISIS3 cube:

p.out.isis group=crism_corrected output=crism_out.cub

REFERENCES

SEE ALSO

p.in.isis, p.in.pds3, r.out.gdal

AUTHOR

Yann Chemin

SOURCE CODE

Available at: p.out.isis source code (history)

Accessed: Sunday Nov 15 11:06:03 2026


Main index | Paint index | Topics index | Keywords index | Graphical index | Full index

© 2003-2026 GRASS Development Team, GRASS 8.5.1dev Reference Manual