ee_extra.STAC.core.getScaleParams#

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

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

Parameters:

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

Return type:

dict

Returns:

Dictionary with the scale parameters for each band.

Examples

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