earthdaily.earthdatastore.mask package

Module contents

class earthdaily.earthdatastore.mask.Mask(dataset: Dataset, intersects=None, bbox=None)[source]

Bases: object

ag_cloud_mask(mask_statistics=False)[source]
cloud_mask(mask_statistics=False)[source]
cloudmask_from_asset(cloud_asset, labels, labels_are_clouds, mask_statistics=False, fill_value=nan)[source]
compute_available_pixels()[source]
compute_clear_coverage(cloudmask_array, cloudmask_name, labels, labels_are_clouds=True)[source]
landsat_qa_pixel(mask_statistics=False)[source]
scl(clouds_labels=[1, 3, 8, 9, 10, 11], mask_statistics=False)[source]
venus_detailed_cloud_mask(mask_statistics=False)[source]
earthdaily.earthdatastore.mask.QA_PIXEL_cloud_detection(arr)[source]

return 1 if cloudfree, 0 is cloud pixel

earthdaily.earthdatastore.mask.filter_clear_cover(dataset, clear_cover, coordinate='clear_percent')[source]