This code file provides several utility functions for working with satellite imagery using the Google Earth Engine (GEE) API. The primary functionalities include scoring cloud ratios, generating layers, creating thumbnails, and calculating cumulative windows for histograms.
## Dependencies
- Google Earth Engine (GEE) API
- Custom classes and utilities from local modules
## Functions
### `scoreCloudRatio`
Calculates the cloud ratio in a given region based on a masked image.
#### Parameters
-`masked` (ee.Image): The masked image with cloud presence indicated by pixel values.
-`bandName` (string): The name of the band to be analyzed.
-`geometry` (ee.Geometry): The region of interest.
-`scale` (number, default=30): The scale for the reduction.
-`maxPixels` (number, default=1e12): The maximum number of pixels to include in the reduction.
#### Returns
-`ee.Number`: The cloud ratio in the specified region.