Skip to main content
Any Framework

Command line tools for PRo3D data: OPC validation and KdTree generation, per-pixel illumination geometry, and unprojecting image pixel coordinates onto a shape model.

Published
Aug 19, 2026
2mo ago
Total Downloads
267
267

Install

dotnet add package PRo3D.Tool --version 0.2.0

No framework information available.

README

pro3d-tool

Command line tools for PRo3D data. Does not require the PRo3D viewer to be installed.

dotnet tool install PRo3D.Tool --global

Verbs

Verb Purpose
kdtree Validates OPC directories and generates KdTrees. No GPU or SPICE kernels needed.
sun-angles Writes per-pixel incidence, emission and phase angles for instrument images as float32 TIFFs in radians. Requires SPICE kernels and a GPU.
unproject Converts image pixel coordinates to body-fixed surface coordinates on a shape model. Requires SPICE kernels; no GPU.
pro3d-tool kdtree --help
pro3d-tool sun-angles --help
pro3d-tool unproject --help

SPICE kernels

sun-angles and unproject need SPICE kernels, which ESA publishes separately:

git clone https://spiftp.esac.esa.int/git/hera.git

Set PRO3D_SPICE_KERNELS to that clone or to its kernels subdirectory, or pass --kernel-root <dir>. There is no default: both fail when no kernel tree is given.

Documentation

Migrating from opc-tool

opc-tool is deprecated. Its functionality is the kdtree verb with unchanged option names, so prepend the verb:

opc-tool          --forcekdtreerebuild <dir>
pro3d-tool kdtree --forcekdtreerebuild <dir>

MIT licensed.

Changes from Previous Version

No structural changes between v0.1.0 and v0.2.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.