ee_extra.STAC.core.getOffsetParams#

ee_extra.STAC.core.getOffsetParams(x)[source]#

Gets the offset parameters for each band of the image or image collection.

Parameters:

x (Union[Image, ImageCollection]) – Image or image collection to get the offset parameters from.

Return type:

dict

Returns:

Dictionary with the offset parameters for each band.

Examples

>>> import ee
>>> from ee_extra.STAC.core import getOffsetParams
>>> ee.Initialize()
>>> S2 = ee.ImageCollection("COPERNICUS/S2_SR")
>>> getOffsetParams(S2)