scai
- typhon.cloudmask.scai(cloudmask, connectivity=1)[source]
Calculate the ‘Simple Convective Aggregation Index (SCAI)’.
The SCAI is defined as the ratio of convective disaggregation to a potential maximal disaggregation.
See also
scipy.spatial.distance.pdist()
:Used to calculate pairwise distances between cloud entities.
scipy.stats.mstats.gmean()
:Used to calculate the geometric mean of all clouds in pairs.
- Parameters:
cloudmask (ndarray) – 2d binary cloud mask.
connectivity (int) – Maximum number of orthogonal hops to consider a pixel/voxel as a neighbor (see
skimage.measure.label()
).
- Returns:
SCAI.
- Return type:
References
Tobin, I., S. Bony, and R. Roca, 2012: Observational Evidence for Relationships between the Degree of Aggregation of Deep Convection, Water Vapor, Surface Fluxes, and Radiation. J. Climate, 25, 6885–6904, https://doi.org/10.1175/JCLI-D-11-00258.1