cedar.sensors.common module

Common functions for dealing with GEE

cedar.sensors.common.collection_metadata(collection, key)[source]

Return a ee.List of metadata from each item in collection

Parameters
  • collection (ee.ImageCollection) – GEE collection

  • key (str) – Metadata key

Returns

List of metadata per item in collection

Return type

ee.List

cedar.sensors.common.filter_collection_tile(col, tile)[source]
cedar.sensors.common.filter_collection_time(col, d_start, d_end)[source]
cedar.sensors.common.get_collection_dates(imgcol)[source]
cedar.sensors.common.get_collection_uniq_dates(col)[source]
cedar.sensors.common.object_metadata(obj, keys)[source]

Return metadata from some EE object as dict (not evaluated)

Parameters
  • image (object) – EarthEngine object (from ee), typically an ee.Image

  • keys (Sequence[str]) – Metadata to retrieve

Returns

Dictionary of metadata

Return type

ee.Dictionary

cedar.sensors.common.tile_geom(tile)[source]