isismetadata
— ISIS File Metadata¶
The isismetadata
file contains a generic metadata parser for ISIS and PVL formats
New in version 0.1.0.
- class amg.isismetadata.IsisCamInfo(datafile)[source]¶
This class is the metadata container for the output from the ISIS caminfo command.
This class uses the IsisGeomBase mixin in case the caminfo command has been run with the polygon=true flag, in which case a GIS footprint is embedded in the data.
- Parameters
datafile (str) – The path to the input ISIS cube file
- data¶
A pvl.PVLModule object containing the parsed data label
- Type
obj
- emisssion_angle¶
The angle between the spacecraft and a vector perpendicular (surface normal) to the surface
- Type
- incidence_angle¶
The angle between the sun and the surface normal at the center of the image
- Type
- local_solar_time¶
The angle of the sun relative to the center of the image (how high the sun is in the sky)
- Type
- footprint¶
shapely Polygon or MultiPolygon defining the data footprint
- Type
obj
- class amg.isismetadata.IsisFootPrintBlob(datafile)[source]¶
This class parses ISIS footprints that have been dumped from labels using the blobdump command.
This class uses the IsisGeomBase mix-in. Therefore, all attributes on that class are available on this class, e.g., footprint.
- Parameters
datafile (path) – The path to the input data file
- data¶
a pvl.PVLModule object parsed from the input datafile
- Type
obj
- class amg.isismetadata.IsisGeomBase[source]¶
A mix-in that manages providing access to ISIS geometries, e.g., image footprints.
- centroid¶
shapely point object defining the center of the geometry
- Type
obj
- footprint¶
shapely Polygon or MultiPolygon defining the data footprint
- Type
obj
- class amg.isismetadata.IsisMetadata(datafile)[source]¶
This class is the metadata container for an ISIS cube.
This class uses the IsisGeomBase mix-in. Therefore, all attributes on that class are available on this class, e.g., footprint.
- Parameters
datafile (str) – The path to the input ISIS cube file
- data¶
A pvl.PVLModule object containing the parsed data label
- Type
obj