python
— Driver Interfaces¶
- ale.drivers.load(label, props={}, formatter='ale', verbose=False)¶
Attempt to load a given label from all possible drivers.
This function opens up the label file and attempts to produce an ISD in the format specified using the supplied properties. Drivers are tried sequentially until an ISD is successfully created. Drivers that use external ephemeris data are tested before drivers that use attached epehemeris data.
Parameters¶
- labelstr
String path to the given label file
- propsdict
A dictionary of optional keywords/parameters for use in driver loading. Each driver specifies its own set of properties to use. For example, Drivers that use the NaifSpice mix-in use the ‘kernels’ property to specify an explicit set of kernels and load order.
- formatter{‘ale’, ‘isis’, ‘usgscsm’}
Output format for the ISD. As of 0.8.0, it is recommended that the ale formatter is used. The isis and usgscsm formatters are retrained for backwards compatability.
- verbosebool
If True, displays debug output specifying which drivers were attempted and why they failed.
Returns¶
- dict
The ISD as a dictionary
- ale.drivers.loads(label, props='', formatter='ale', verbose=False)¶
Attempt to load a given label from all possible drivers.
This function is the same as load, except it returns a JSON formatted string.
Returns¶
- str
The ISD as a JSON formatted string
See Also¶
load
base
— Default Driver ClassesDriver
Driver.center_ephemeris_time
Driver.detector_center_line
Driver.detector_center_sample
Driver.detector_start_line
Driver.detector_start_sample
Driver.ephemeris_start_time
Driver.ephemeris_stop_time
Driver.focal2pixel_lines
Driver.focal2pixel_samples
Driver.focal_length
Driver.frame_chain
Driver.image_lines
Driver.image_samples
Driver.line_summing
Driver.naif_keywords
Driver.pixel2focal_x
Driver.pixel2focal_y
Driver.platform_name
Driver.sample_summing
Driver.sensor_frame_id
Driver.sensor_model_version
Driver.sensor_name
Driver.sensor_position
Driver.sun_position
Driver.target_body_radii
Driver.target_frame_id
Driver.target_name
Driver.usgscsm_distortion_model
util
— General Utilitiesrotation
— Python Rotationstransformation
— Python Frame Transformationsmix-ins
— Mix-in ClassesSupplementary Data
— Supplementary Data Mix-insNaifSpice
NaifSpice.correct_lt_to_surface
NaifSpice.detector_center_line
NaifSpice.detector_center_sample
NaifSpice.ephemeris_start_time
NaifSpice.ephemeris_stop_time
NaifSpice.focal2pixel_lines
NaifSpice.focal2pixel_samples
NaifSpice.focal_length
NaifSpice.ikid
NaifSpice.kernels
NaifSpice.light_time_correction
NaifSpice.naif_keywords
NaifSpice.odtk
NaifSpice.odtx
NaifSpice.odty
NaifSpice.pixel2focal_x
NaifSpice.pixel2focal_y
NaifSpice.pixel_size
NaifSpice.reference_frame
NaifSpice.sensor_frame_id
NaifSpice.sensor_orientation
NaifSpice.sensor_position
NaifSpice.spacecraft_id
NaifSpice.sun_position
NaifSpice.swap_observer_target
NaifSpice.target_body_radii
NaifSpice.target_frame_id
NaifSpice.target_id
IsisSpice
IsisSpice.body_orientation_table
IsisSpice.detector_center_line
IsisSpice.detector_center_sample
IsisSpice.ephemeris_start_time
IsisSpice.focal2pixel_lines
IsisSpice.focal2pixel_samples
IsisSpice.focal_length
IsisSpice.frame_chain
IsisSpice.ikid
IsisSpice.inst_pointing_table
IsisSpice.inst_position_table
IsisSpice.naif_keywords
IsisSpice.odtk
IsisSpice.pixel2focal_x
IsisSpice.pixel2focal_y
IsisSpice.sensor_position
IsisSpice.sun_position
IsisSpice.sun_position_table
IsisSpice.target_body_radii
parse_table()
read_table_data()
rotate_state()
Label Data
— Label Data Mix-insIsisLabel
IsisLabel.exposure_duration
IsisLabel.image_lines
IsisLabel.image_samples
IsisLabel.instrument_id
IsisLabel.line_exposure_duration
IsisLabel.line_summing
IsisLabel.platform_name
IsisLabel.sample_summing
IsisLabel.sampling_factor
IsisLabel.sensor_model_version
IsisLabel.sensor_name
IsisLabel.spacecraft_clock_start_count
IsisLabel.spacecraft_clock_stop_count
IsisLabel.spacecraft_name
IsisLabel.target_name
IsisLabel.utc_start_time
IsisLabel.utc_stop_time
Pds3Label
Pds3Label.crosstrack_summing
Pds3Label.downtrack_summing
Pds3Label.exposure_duration
Pds3Label.filter_number
Pds3Label.image_lines
Pds3Label.image_samples
Pds3Label.instrument_host_id
Pds3Label.instrument_host_name
Pds3Label.instrument_id
Pds3Label.instrument_name
Pds3Label.line_exposure_duration
Pds3Label.line_summing
Pds3Label.platform_name
Pds3Label.sample_summing
Pds3Label.sampling_factor
Pds3Label.sensor_name
Pds3Label.spacecraft_clock_start_count
Pds3Label.spacecraft_clock_stop_count
Pds3Label.spacecraft_name
Pds3Label.target_name
Pds3Label.utc_start_time
Pds3Label.utc_stop_time
Sensor Type
— Sensor Type Mix-insDistortion Model
— Distortion Model Type Mix-ins
concrete-drivers
— Concrete Sensor Driverco_drivers
— Cassini Driver ClassesCassiniIssPds3LabelNaifSpiceDriver
CassiniIssPds3LabelNaifSpiceDriver.detector_center_line
CassiniIssPds3LabelNaifSpiceDriver.detector_center_sample
CassiniIssPds3LabelNaifSpiceDriver.focal2pixel_lines
CassiniIssPds3LabelNaifSpiceDriver.focal2pixel_samples
CassiniIssPds3LabelNaifSpiceDriver.focal_epsilon
CassiniIssPds3LabelNaifSpiceDriver.focal_length
CassiniIssPds3LabelNaifSpiceDriver.frame_chain
CassiniIssPds3LabelNaifSpiceDriver.instrument_id
CassiniIssPds3LabelNaifSpiceDriver.odtk
CassiniIssPds3LabelNaifSpiceDriver.sensor_frame_id
CassiniIssPds3LabelNaifSpiceDriver.sensor_model_version
CassiniIssPds3LabelNaifSpiceDriver.spacecraft_name
dawn_drivers
— Dawn Driver ClassesDawnFcPds3NaifSpiceDriver
DawnFcPds3NaifSpiceDriver.detector_center_line
DawnFcPds3NaifSpiceDriver.detector_center_sample
DawnFcPds3NaifSpiceDriver.ephemeris_start_time
DawnFcPds3NaifSpiceDriver.focal2pixel_lines
DawnFcPds3NaifSpiceDriver.focal2pixel_samples
DawnFcPds3NaifSpiceDriver.instrument_id
DawnFcPds3NaifSpiceDriver.label
DawnFcPds3NaifSpiceDriver.odtk
DawnFcPds3NaifSpiceDriver.sensor_model_version
DawnFcPds3NaifSpiceDriver.spacecraft_name
DawnFcPds3NaifSpiceDriver.target_name
DawnFcPds3NaifSpiceDriver.usgscsm_distortion_model
hayabusa2_drivers
— Hayabusa2 Driver Classesisis_ideal_drivers
— ISIS Ideal Camera Driver ClassesIdealLsIsisLabelIsisSpiceDriver
IdealLsIsisLabelIsisSpiceDriver.detector_center_line
IdealLsIsisLabelIsisSpiceDriver.detector_center_sample
IdealLsIsisLabelIsisSpiceDriver.detector_start_line
IdealLsIsisLabelIsisSpiceDriver.detector_start_sample
IdealLsIsisLabelIsisSpiceDriver.ephemeris_start_time
IdealLsIsisLabelIsisSpiceDriver.ephemeris_stop_time
IdealLsIsisLabelIsisSpiceDriver.focal2pixel_lines
IdealLsIsisLabelIsisSpiceDriver.focal2pixel_samples
IdealLsIsisLabelIsisSpiceDriver.focal_length
IdealLsIsisLabelIsisSpiceDriver.instrument_id
IdealLsIsisLabelIsisSpiceDriver.pixel2focal_x
IdealLsIsisLabelIsisSpiceDriver.pixel2focal_y
IdealLsIsisLabelIsisSpiceDriver.sensor_model_version
IdealLsIsisLabelIsisSpiceDriver.sensor_name
IdealLsIsisLabelIsisSpiceDriver.spacecraft_name
juno_drivers
— Juno Driver Classeslro_drivers
— LRO Driver ClassesLroLrocIsisLabelNaifSpiceDriver
LroLrocIsisLabelNaifSpiceDriver.additional_preroll
LroLrocIsisLabelNaifSpiceDriver.additive_line_error
LroLrocIsisLabelNaifSpiceDriver.constant_time_offset
LroLrocIsisLabelNaifSpiceDriver.detector_center_sample
LroLrocIsisLabelNaifSpiceDriver.ephemeris_start_time
LroLrocIsisLabelNaifSpiceDriver.exposure_duration
LroLrocIsisLabelNaifSpiceDriver.focal2pixel_lines
LroLrocIsisLabelNaifSpiceDriver.instrument_id
LroLrocIsisLabelNaifSpiceDriver.light_time_correction
LroLrocIsisLabelNaifSpiceDriver.multiplicative_line_error
LroLrocIsisLabelNaifSpiceDriver.odtk
LroLrocIsisLabelNaifSpiceDriver.sampling_factor
LroLrocIsisLabelNaifSpiceDriver.sensor_model_version
LroLrocIsisLabelNaifSpiceDriver.spacecraft_direction
LroLrocIsisLabelNaifSpiceDriver.usgscsm_distortion_model
LroLrocPds3LabelNaifSpiceDriver
LroLrocPds3LabelNaifSpiceDriver.additional_preroll
LroLrocPds3LabelNaifSpiceDriver.additive_line_error
LroLrocPds3LabelNaifSpiceDriver.constant_time_offset
LroLrocPds3LabelNaifSpiceDriver.detector_center_sample
LroLrocPds3LabelNaifSpiceDriver.ephemeris_start_time
LroLrocPds3LabelNaifSpiceDriver.exposure_duration
LroLrocPds3LabelNaifSpiceDriver.focal2pixel_lines
LroLrocPds3LabelNaifSpiceDriver.instrument_id
LroLrocPds3LabelNaifSpiceDriver.light_time_correction
LroLrocPds3LabelNaifSpiceDriver.multiplicative_line_error
LroLrocPds3LabelNaifSpiceDriver.odtk
LroLrocPds3LabelNaifSpiceDriver.sampling_factor
LroLrocPds3LabelNaifSpiceDriver.sensor_model_version
LroLrocPds3LabelNaifSpiceDriver.spacecraft_direction
LroLrocPds3LabelNaifSpiceDriver.spacecraft_name
LroLrocPds3LabelNaifSpiceDriver.usgscsm_distortion_model
LroMiniRfIsisLabelNaifSpiceDriver
LroMiniRfIsisLabelNaifSpiceDriver.ephemeris_start_time
LroMiniRfIsisLabelNaifSpiceDriver.ephemeris_stop_time
LroMiniRfIsisLabelNaifSpiceDriver.instrument_id
LroMiniRfIsisLabelNaifSpiceDriver.line_exposure_duration
LroMiniRfIsisLabelNaifSpiceDriver.look_direction
LroMiniRfIsisLabelNaifSpiceDriver.range_conversion_coefficients
LroMiniRfIsisLabelNaifSpiceDriver.range_conversion_times
LroMiniRfIsisLabelNaifSpiceDriver.scaled_pixel_width
LroMiniRfIsisLabelNaifSpiceDriver.wavelength
mess_drivers
— MDIS Driver ClassesMessengerMdisIsisLabelIsisSpiceDriver
MessengerMdisIsisLabelNaifSpiceDriver
MessengerMdisIsisLabelNaifSpiceDriver.detector_center_line
MessengerMdisIsisLabelNaifSpiceDriver.detector_center_sample
MessengerMdisIsisLabelNaifSpiceDriver.ephemeris_start_time
MessengerMdisIsisLabelNaifSpiceDriver.fikid
MessengerMdisIsisLabelNaifSpiceDriver.focal_length
MessengerMdisIsisLabelNaifSpiceDriver.instrument_id
MessengerMdisIsisLabelNaifSpiceDriver.pixel_size
MessengerMdisIsisLabelNaifSpiceDriver.platform_name
MessengerMdisIsisLabelNaifSpiceDriver.sampling_factor
MessengerMdisIsisLabelNaifSpiceDriver.sensor_model_version
MessengerMdisIsisLabelNaifSpiceDriver.usgscsm_distortion_model
MessengerMdisPds3NaifSpiceDriver
MessengerMdisPds3NaifSpiceDriver.detector_center_line
MessengerMdisPds3NaifSpiceDriver.detector_center_sample
MessengerMdisPds3NaifSpiceDriver.fikid
MessengerMdisPds3NaifSpiceDriver.focal_length
MessengerMdisPds3NaifSpiceDriver.instrument_id
MessengerMdisPds3NaifSpiceDriver.pixel_size
MessengerMdisPds3NaifSpiceDriver.sampling_factor
MessengerMdisPds3NaifSpiceDriver.sensor_model_version
MessengerMdisPds3NaifSpiceDriver.spacecraft_name
MessengerMdisPds3NaifSpiceDriver.usgscsm_distortion_model
mex_drivers
— Mars Express Driver ClassesMexHrscIsisLabelNaifSpiceDriver
MexHrscIsisLabelNaifSpiceDriver.ephemeris_start_time
MexHrscIsisLabelNaifSpiceDriver.ephemeris_stop_time
MexHrscIsisLabelNaifSpiceDriver.fikid
MexHrscIsisLabelNaifSpiceDriver.ikid
MexHrscIsisLabelNaifSpiceDriver.instrument_id
MexHrscIsisLabelNaifSpiceDriver.line_scan_rate
MexHrscIsisLabelNaifSpiceDriver.sensor_model_version
MexHrscIsisLabelNaifSpiceDriver.sensor_name
MexHrscIsisLabelNaifSpiceDriver.times_table
MexHrscPds3NaifSpiceDriver
MexHrscPds3NaifSpiceDriver.binary_ephemeris_times
MexHrscPds3NaifSpiceDriver.binary_exposure_durations
MexHrscPds3NaifSpiceDriver.binary_lines
MexHrscPds3NaifSpiceDriver.detector_center_line
MexHrscPds3NaifSpiceDriver.detector_center_sample
MexHrscPds3NaifSpiceDriver.ephemeris_stop_time
MexHrscPds3NaifSpiceDriver.fikid
MexHrscPds3NaifSpiceDriver.focal2pixel_lines
MexHrscPds3NaifSpiceDriver.focal2pixel_samples
MexHrscPds3NaifSpiceDriver.focal_length
MexHrscPds3NaifSpiceDriver.ikid
MexHrscPds3NaifSpiceDriver.instrument_id
MexHrscPds3NaifSpiceDriver.line_exposure_duration
MexHrscPds3NaifSpiceDriver.line_scan_rate
MexHrscPds3NaifSpiceDriver.odtk
MexHrscPds3NaifSpiceDriver.pixel2focal_x
MexHrscPds3NaifSpiceDriver.pixel2focal_y
MexHrscPds3NaifSpiceDriver.read_image_data()
MexHrscPds3NaifSpiceDriver.sensor_model_version
MexHrscPds3NaifSpiceDriver.spacecraft_name
MexSrcPds3NaifSpiceDriver
MexSrcPds3NaifSpiceDriver.detector_center_line
MexSrcPds3NaifSpiceDriver.detector_center_sample
MexSrcPds3NaifSpiceDriver.focal2pixel_lines
MexSrcPds3NaifSpiceDriver.focal2pixel_samples
MexSrcPds3NaifSpiceDriver.ikid
MexSrcPds3NaifSpiceDriver.instrument_id
MexSrcPds3NaifSpiceDriver.odtk
MexSrcPds3NaifSpiceDriver.sensor_model_version
MexSrcPds3NaifSpiceDriver.spacecraft_name
mro_drivers
— MRO Driver ClassesMroCtxIsisLabelIsisSpiceDriver
MroCtxIsisLabelNaifSpiceDriver
MroCtxIsisLabelNaifSpiceDriver.detector_center_sample
MroCtxIsisLabelNaifSpiceDriver.detector_start_sample
MroCtxIsisLabelNaifSpiceDriver.ephemeris_start_time
MroCtxIsisLabelNaifSpiceDriver.ephemeris_stop_time
MroCtxIsisLabelNaifSpiceDriver.instrument_id
MroCtxIsisLabelNaifSpiceDriver.sensor_model_version
MroCtxIsisLabelNaifSpiceDriver.sensor_name
MroCtxIsisLabelNaifSpiceDriver.spacecraft_name
MroCtxPds3LabelNaifSpiceDriver
nh_drivers
— New Horizons Driver Classesody_drivers
— Odyssey Driver ClassesOdyThemisIrIsisLabelNaifSpiceDriver
OdyThemisIrIsisLabelNaifSpiceDriver.detector_center_line
OdyThemisIrIsisLabelNaifSpiceDriver.detector_center_sample
OdyThemisIrIsisLabelNaifSpiceDriver.ephemeris_start_time
OdyThemisIrIsisLabelNaifSpiceDriver.focal_length
OdyThemisIrIsisLabelNaifSpiceDriver.ikid
OdyThemisIrIsisLabelNaifSpiceDriver.instrument_id
OdyThemisIrIsisLabelNaifSpiceDriver.line_exposure_duration
OdyThemisIrIsisLabelNaifSpiceDriver.sensor_model_version
OdyThemisIrIsisLabelNaifSpiceDriver.sensor_name
OdyThemisIrIsisLabelNaifSpiceDriver.spacecraft_name
OdyThemisVisIsisLabelNaifSpiceDriver
OdyThemisVisIsisLabelNaifSpiceDriver.detector_center_line
OdyThemisVisIsisLabelNaifSpiceDriver.detector_center_sample
OdyThemisVisIsisLabelNaifSpiceDriver.ephemeris_start_time
OdyThemisVisIsisLabelNaifSpiceDriver.focal_length
OdyThemisVisIsisLabelNaifSpiceDriver.ikid
OdyThemisVisIsisLabelNaifSpiceDriver.instrument_id
OdyThemisVisIsisLabelNaifSpiceDriver.line_exposure_duration
OdyThemisVisIsisLabelNaifSpiceDriver.sensor_model_version
OdyThemisVisIsisLabelNaifSpiceDriver.sensor_name
OdyThemisVisIsisLabelNaifSpiceDriver.spacecraft_name
selene_drivers
— Selene Driver ClassesKaguyaMiPds3NaifSpiceDriver
KaguyaMiPds3NaifSpiceDriver.base_band
KaguyaMiPds3NaifSpiceDriver.boresight_x
KaguyaMiPds3NaifSpiceDriver.boresight_y
KaguyaMiPds3NaifSpiceDriver.detector_center_line
KaguyaMiPds3NaifSpiceDriver.detector_center_sample
KaguyaMiPds3NaifSpiceDriver.ephemeris_start_time
KaguyaMiPds3NaifSpiceDriver.focal2pixel_lines
KaguyaMiPds3NaifSpiceDriver.focal2pixel_samples
KaguyaMiPds3NaifSpiceDriver.focal_length
KaguyaMiPds3NaifSpiceDriver.instrument_id
KaguyaMiPds3NaifSpiceDriver.line_exposure_duration
KaguyaMiPds3NaifSpiceDriver.sensor_frame_id
KaguyaMiPds3NaifSpiceDriver.sensor_model_version
KaguyaMiPds3NaifSpiceDriver.spacecraft_clock_start_count
KaguyaMiPds3NaifSpiceDriver.spacecraft_clock_stop_count
KaguyaMiPds3NaifSpiceDriver.spacecraft_name
KaguyaMiPds3NaifSpiceDriver.usgscsm_distortion_model
KaguyaMiPds3NaifSpiceDriver.utc_start_time
KaguyaMiPds3NaifSpiceDriver.utc_stop_time
KaguyaTcPds3NaifSpiceDriver
KaguyaTcPds3NaifSpiceDriver.boresight_x
KaguyaTcPds3NaifSpiceDriver.boresight_y
KaguyaTcPds3NaifSpiceDriver.detector_center_line
KaguyaTcPds3NaifSpiceDriver.detector_center_sample
KaguyaTcPds3NaifSpiceDriver.detector_start_line
KaguyaTcPds3NaifSpiceDriver.detector_start_sample
KaguyaTcPds3NaifSpiceDriver.ephemeris_start_time
KaguyaTcPds3NaifSpiceDriver.exposure_duration
KaguyaTcPds3NaifSpiceDriver.focal2pixel_lines
KaguyaTcPds3NaifSpiceDriver.focal2pixel_samples
KaguyaTcPds3NaifSpiceDriver.focal_length
KaguyaTcPds3NaifSpiceDriver.ikid
KaguyaTcPds3NaifSpiceDriver.instrument_host_name
KaguyaTcPds3NaifSpiceDriver.instrument_id
KaguyaTcPds3NaifSpiceDriver.sensor_frame_id
KaguyaTcPds3NaifSpiceDriver.sensor_model_version
KaguyaTcPds3NaifSpiceDriver.spacecraft_clock_start_count
KaguyaTcPds3NaifSpiceDriver.spacecraft_clock_stop_count
KaguyaTcPds3NaifSpiceDriver.spacecraft_direction
KaguyaTcPds3NaifSpiceDriver.spacecraft_name
KaguyaTcPds3NaifSpiceDriver.usgscsm_distortion_model
KaguyaTcPds3NaifSpiceDriver.utc_start_time
KaguyaTcPds3NaifSpiceDriver.utc_stop_time
tgo_drivers
— Trace Gas Oribiter Driver Classesviking_drivers
— Viking Driver Classesvoyager_drivers
— Voyager Driver ClassesVoyagerCameraIsisLabelNaifSpiceDriver
VoyagerCameraIsisLabelNaifSpiceDriver.detector_center_line
VoyagerCameraIsisLabelNaifSpiceDriver.detector_center_sample
VoyagerCameraIsisLabelNaifSpiceDriver.ephemeris_start_time
VoyagerCameraIsisLabelNaifSpiceDriver.ephemeris_stop_time
VoyagerCameraIsisLabelNaifSpiceDriver.ikid
VoyagerCameraIsisLabelNaifSpiceDriver.instrument_id
VoyagerCameraIsisLabelNaifSpiceDriver.pixel_size
VoyagerCameraIsisLabelNaifSpiceDriver.sensor_model_version
VoyagerCameraIsisLabelNaifSpiceDriver.spacecraft_name