geetools.algorithms.Landsat.rescaleToaSr#

static geetools.algorithms.Landsat.rescaleToaSr(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 ([‘B1’,’B2’,’B3’,’B4’,’B5’,’B6’,’B7’]).

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

Return type:

ee.Image