cedar.sensors.landsat module

Functions for dealing with Landsat data on GEE

cedar.sensors.landsat.NODATA = {'LANDSAT/LC08/C01/T1_SR': -9999, 'LANDSAT/LE07/C01/T1_SR': -9999, 'LANDSAT/LT04/C01/T1_SR': -9999, 'LANDSAT/LT05/C01/T1_SR': -9999}

NoDataValues for Landsat collections

Type

dict[str, Number]

cedar.sensors.landsat.create_ard(collection, tile, date_start, date_end, filters=None, validate=False)[source]

Create an ARD ee.Image

Parameters
  • collection (str) – GEE image collection name

  • tile (stems.gis.grids.Tile) – STEMS TileGrid tile

  • date_start (dt.datetime) – Starting period

  • date_end (dt.datetime) – Ending period

  • filters (Sequence[ee.Filter], optional) – Additional filters to apply over image collection

  • validate (bool, optional) – Perform validity checks at cost of submission speed (runs .getInfo on metadata, requiring us to wait on client-server communication)

Returns

  • ee.Image – “ARD” image from collection with all observations within period

  • Sequence[dict] – Metadata, one dict per image