sup3r.preprocessing.derivers.methods.CloudMask

sup3r.preprocessing.derivers.methods.CloudMask#

class CloudMask[source]#

Bases: DerivedFeature

Cloud Mask feature class. Inputs here are typically found in H5 data like the NSRDB.

Methods

compute(data)

Attributes

inputs

classmethod compute(data)[source]#
Returns:

cloud_mask (ndarray) – Cloud mask, e.g. 1 where cloudy, 0 where clear. NaN where nighttime. Data is float32 so it can be normalized without any integer weirdness.