This release provides a new API via gd accessors on the ee.Image and ee.ImageCollection Earth Engine classes. Existing export functionality has been expanded to allow image and image collection export to various formats. Cloud masking has been extended to support more collections and masking options. With a substantial part of the package having been rewritten, some breaking changes were necessary.
Breaking changes
- The default Landsat cloud mask is more aggressive. Following https://gis.stackexchange.com/a/473652, it now includes dilated cloud, and all medium confidence cloud, shadow & cirrus pixels.
- The
MaskedCollection.stacproperty now returns a STAC dictionary and not aStacIteminstance. MaskedImagedoesn't add mask bands to composite images. Previously mask bands were added to composite images that had no existing mask bands.- When cloud masking is not supported,
MaskedImage.mask_clouds()leaves the image unaltered instead of applying a fill mask. MaskedImage.scaleis in units of itscrs, not meters.- The
MaskedImage.search()end_dateparameter defaults to a millisecond afterstart_date, not one day. - The
geedim downloadandgeedim exportCLI commands name image files with their Earth Engine index rather than ID. - The piped value of the CLI
--regionoption is no longer implicitly used by subsequent commands in the pipeline.
Deprecations
- The
MaskedImageandMaskedCollectionclasses are deprecated. Theee.Image.gdandee.ImageCollection.gdaccessors should be used instead.
Features
- Provide the API via
ee.Image.gdandee.ImageCollection.gdaccessors. - Provide client-side access to image and collection properties.
- Allow images and image collections to be exported to GeoTIFF file, NumPy array, Xarray DataArray / Dataset and Google Cloud platforms.
- Support exporting to Cloud Optimised GeoTIFF.
- Allow setting a custom nodata value when exporting to GeoTIFF (#21).
- Support specifying file / directory paths as remote URIs with
fsspec. - Extend cloud masking support to Landsat C2 collections.
- Allow saturated, non-physical reflectance or aerosol pixels to be included in cloud masks.
- Add a CLI
--bufferoption for buffering the--region/--bbox.
Packaging
- Increase the minimum Python version to 3.11.
- Add
fsspecand AIOHTTP dependencies.
Documentation
- Update the site theme & layout.
- Add new getting started sections.