Skip to content

ViewingGeometryPerFacet

Eric E Palmer edited this page Oct 23, 2026 · 1 revision

ViewingGeometryPerFacet outputs similar data to GetSpots, but also includes lat/lon of each facet center. The inputs and outputs are formatted different.

/!\ ViewingGeometryPerFacet requires an obj file.

Example Input:

  • eval_tools/altwg-2020.08.13-macosx-x64/bin/ViewingGeometryPerFacet -date 2018 Nov 27 09:06:17 -obj shape-apV24-512.obj -observer OSIRIS-REX -output VGP_output -spice spoc-jweirich-2018-12-05T17_18_14.888Z_modified.mk -target BENNU

Help: ALTWG Tools version 76219 (built on 2020-Aug-13)

usage: ViewingGeometryPerFacet [options]

  • -date Required. Observation date. Format can be anything readable by the SPICE str2et method.
  • -frame Shape model reference frame. Default is IAU_{target}.
  • -logFile If present, save screen output to log file.
  • -logLevel If present, print messages above selected priority. Valid values are ALL, OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, or FINEST. Default is INFO.
  • -obj Required. Shape model for target body.
  • -observer Required. SPICE name of observer.
  • -output Output filename. Default is to print to console.
  • -spice SPICE kernel(s) to load. Multiple kernels may be specified separated by whitespace.
  • -target Required. SPICE name of target.

  • This program calculates the viewing geometry for a shape model at each facet visible from the observer.
  • If the image does not cover a facet, a line for that facet is not printed.

Clone this wiki locally