geetools.algorithms.Landsat.rescaleSrToa#

static geetools.algorithms.Landsat.rescaleSrToa(image, bands=None, thermal_bands=None)#

Re-scale a TOA Landsat image to match the data type of SR Landsat.

image.

Parameters:
  • image (ee.Image) – a Landsat TOA image

  • bands (list) – bands to rescale by 10000. If None will use the bands for Landsat 8 (B[1-7]).

  • thermal_bands (list) – bands to rescale by 100. Defaults to [‘B10’, ‘B11’]

Return type:

ee.Image