eemont.image.scale

eemont.image.scale(self)[source]

Scales bands on an image.

Deprecated since version 0.3.0: Use scaleAndOffset() instead.

Tip

Check more info about the supported platforms and image scaling the User Guide.

Parameters

self (ee.Image [this]) – Image to scale.

Returns

Scaled image.

Return type

ee.Image

Examples

>>> import ee, eemont
>>> ee.Authenticate()
>>> ee.Initialize()
>>> S2 = ee.ImageCollection('COPERNICUS/S2_SR').first().scale()