libera_utils.footprint_matching.types.PseudoFootprint#

class libera_utils.footprint_matching.types.PseudoFootprint(time: datetime64, slice_x: slice, slice_y: slice, center_ix: int, center_iy: int, latitude: float, longitude: float, altitude: float, solar_zenith_angle: float, viewing_zenith_angle: float, relative_azimuth_angle: float, bbox: BoundingBox, q_flags: CameraFootprintQualityFlag)#

Bases: object

One camera pseudo-footprint: a block of L1B camera pixels reduced to a footprint record.

The camera-timescale FMATCH modes are built from these. The pixel blocks are segmented by the Camera Cloud Fraction algorithm and read from its CF-CAM-CAMTIME product.

Variables:
  • time (np.datetime64) – The CAMERA_TIME of the image this footprint came from. All footprints segmented from the same image share this timestamp. The readers’ time selection (TimeMatch) matches ancillary samples to it.

  • slice_x (slice) – The block’s half-open extent in the CAMERA_PIXEL_COUNT_X pixel grid.

  • slice_y (slice) – The block’s half-open extent in the CAMERA_PIXEL_COUNT_Y pixel grid.

  • center_ix (int) – X pixel index of the footprint’s center (the boresight stand-in), after any nearest-valid-pixel substitution.

  • center_iy (int) – Y pixel index of the footprint’s center, after any nearest-valid-pixel substitution.

  • latitude (float) – Center-pixel geodetic latitude, degrees.

  • longitude (float) – Center-pixel longitude, degrees.

  • altitude (float) – Center-pixel altitude, meters (as stored in L1B).

  • solar_zenith_angle (float) – Center-pixel solar zenith angle, degrees.

  • viewing_zenith_angle (float) – Center-pixel viewing zenith angle, degrees.

  • relative_azimuth_angle (float) – Center-pixel relative azimuth angle, degrees.

  • bbox (BoundingBox) – Geographic box enclosing the block’s valid corner pixels.

  • q_flags (CameraFootprintQualityFlag) – Bitwise quality flags for this footprint (0 == clean).

__init__(time: datetime64, slice_x: slice, slice_y: slice, center_ix: int, center_iy: int, latitude: float, longitude: float, altitude: float, solar_zenith_angle: float, viewing_zenith_angle: float, relative_azimuth_angle: float, bbox: BoundingBox, q_flags: CameraFootprintQualityFlag) → None#