get_cloudproperties

typhon.cloudmask.get_cloudproperties(cloudmask, connectivity=1)[source]

Calculate basic cloud properties from binary cloudmask.

Note

All parameters are calculated in pixels!!

See also

skimage.measure.label():

Used to find different clouds.

skimage.measure.regionprops():

Used to calculate cloud properties.

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:

List of RegionProperties (see skimage.measure.regionprops())

Return type:

list