ppcpy.qc.pollySaturationDetect#

Functions

pollySaturationDetect

detect the bins which are fully saturated by the clouds.

ppcpy.qc.pollySaturationDetect.pollySaturationDetect(data_cube, rfill=250, sigSaturateThresh=500)[source]#

detect the bins which are fully saturated by the clouds.

INPUTS:
data: dict

Data dictionary. See documentation for format.

KEYWORDS:
hfill: float

Minimum range gap to fill (m). Default: 250

sigSaturateThresh: float

Threshold of saturated signal (photon count). Default: 500

OUTPUTS:
flag: boolean ndarray

True indicates current range bin is saturated by clouds.

HISTORY:
  • 2018-12-21: First Edition by Zhenping

  • 2019-07-08: Fix the bug of converting signal to PCR.

  • 2025-05-14: translated and changed the algorithm to use scipy.ndimage