viking_drivers — Viking Driver Classes

The ale.drivers.viking_drivers module

Added in version 0.8.1.

class ale.drivers.viking_drivers.VikingIsisLabelNaifSpiceDriver(file, num_ephem=909, num_quats=909, props={})

Bases: Framer, IsisLabel, NaifSpice, Driver

property alt_ikid

Viking Orbiter 1 & 2 each have an alternate naif id code as defined in the SCLK kernels. Expects spacecraft name to be defined. Returns -27999 for vo1 and -30999 for vo2

Returns

: integer Alternate Naif Integer ID code for the instrument

property ephemeris_start_time

Overridden to use the alternate instrument ID. Also computes an offset to match what is being done in ISIS code. Expects spacecraft_clock_start_count to be defined.

Returns

: float

ephemeris start time of the image

property ikid

Overridden to grab the ikid from the Isis Cube since there is no way to obtain this value with a spice bods2c call.

Returns

: integer

Naif Integer ID code for the instrument

property spacecraft_name

Overridden to work with spice calls.

Returns

: str

Name of the spacecraft.