ppcpy.preprocess.profiles#

Functions

aggregate_clFreeGrps

Aggregate the highres signal over the periods of the cloud free signal.

ppcpy.preprocess.profiles.aggregate_clFreeGrps(data_cube, var: str, func=<function nansum>)[source]#

Aggregate the highres signal over the periods of the cloud free signal.

Input:
  • data_cube (object): Main PicassoProc object.

  • var (string): name of variable to be aggregated.

  • func (function): function to do the aggregateion (mean, sum, median, etc), defult: np.nansum.

Output:
  • out (np.ndarray): Aggregated highres signal for each cloud free segment.