io.isis_serial_number
— Generate ISIS3 Compliant Serial Numbers¶
The io.isis_serial_number
, using translation tables loaded using the io.io_db
module supports generation of ISIS3 compliant serial numbers. These are necessary when
creating ISIS3 compliant control networks.
New in version 0.1.0.
- plio.io.isis_serial_number.generate_serial_number(label)[source]¶
Generate an ISIS compatible serial number using the ISIS team’s translation files
- Parameters:
label (dict or str) – A PVLModule object (dict) or string PATH to a file containing a PVL header
- Returns:
The ISIS compatible serial number
- Return type:
str
- plio.io.isis_serial_number.get_isis_translation(label)[source]¶
Compute the ISIS serial number for a given image using the input cube or the label extracted from the cube.
- Parameters:
label (dict or str) – A PVL dict object or file name to extract the PVL object from
- Returns:
translation – A PVLModule object containing the extracted translation file
- Return type:
dict
- class plio.io.io_db.StringToMission(key, value)[source]¶
Table mapping for the ISIS mission name cleaner table