eemont.image.scale

eemont.image.scale(self)[source]

Scales bands on an image.

Warning

Pending Deprecation: The scale() method will no longer be available for future versions. Please 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()