ppcpy.cloudmask.profilesegment#

Functions

clFreeSeg

CLFREESEG splits continuous cloud-free profiles into small sections.

segment

ppcpy.cloudmask.profilesegment.segment(data_cube)[source]#
ppcpy.cloudmask.profilesegment.clFreeSeg(prfFlag, nIntPrf, minNIntPrf)[source]#

CLFREESEG splits continuous cloud-free profiles into small sections.

INPUTS:
prfFlag: array-like (boolean)

Cloud-free flags for each profile.

nIntPrf: int

Number of integral profiles.

minNIntPrf: int

Minimum number of integral profiles.

OUTPUTS:
clFreSegs: 2D numpy array

Start and stop indexes for each cloud-free section. [[start1, stop1], [start2, stop2], …]

HISTORY:
  • 2021-05-22: First edition by Zhenping

  • 2025-03-20: Translated to python