CollectionStitch Documentation

RadGEEToolbox.CollectionStitch.collectionStitch(img_col1, img_col2, copy_properties_from=1)

Function to mosaic two RadGEETools image collection objects which share image dates. Mosaics are only formed for dates where both image collections have images. Server-side friendly. Returned image collection is an eeImageCollection object. NOTE this is different from the CollectionStitch function available in the LandsatCollection and SentinelCollection classes.

Parameters:
  • img_col1 (RadGEEToolbox object) – primary RadGEEToolbox image collection to be mosaiced with the secondary image collection

  • img_col2 (RadGEEToolbox object) – secondary RadGEEToolbox image collection to be mosaiced with the primary image collection

  • copy_properties_from (int) – image collection used for copying image properties, options of 1 or 2 for primary or secondary respectively. Default is 1.

Returns:

ee.ImageCollection image collection with mosaiced imagery and image properties from chosen collection

Return type:

ee.ImageCollection

RadGEEToolbox.CollectionStitch.mosaicByDate(img_col)

Function to mosaic collection images that share the same date. Server-side friendly. Requires images to have date property of “Date_Filter”

Parameters:

img_col (RadGEEToolbox object) – eeImageCollection object

Returns:

ee.ImageCollection with mosaiced imagery

Return type:

ee.ImageCollection