cloudfraction

typhon.cloudmask.cloudfraction(cloudmask)[source]

Calculate cloud fraction based on cloud mask, while irnoring NaNs.

Parameters:

cloudmask (ndarray) – 2d binary cloud mask.

Returns:

cloud fraction.

Return type:

float