});

custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

Landsat 5 and 7 Bands

Band 1

B01 (blue)

Use: scattered by the atmosphere and illuminates material in shadows better than longer wavelengths; penetrates clear water better than other colors; absorbed by chlorophyll, so plants don’t show up very brightly in this band; useful for soil/vegetation discrimination, forest type mapping, and identifying man-made features.

Custom script: return [B01];

B1

Band 2

B02 (green)

Use: penetrates clear water fairly well, gives excellent contrast between clear and turbid (muddy) water; helps find oil on the surface of water, and vegetation (plant life); reflects more green light than any other visible color; man-made features are still visible.

Custom script: return [B02];

B2

Band 3

B03 (red)

Use: limited water penetration; reflects well from dead foliage, but not well from live foliage with chlorophyll; useful for identifying vegetation types, soils, and urban (city and town) features.

Custom script: return [B03];

B3

Band 4

B04 (NIR)

Use: good for mapping shorelines and biomass content; very good at detecting and analyzing vegetation.

Custom script: return [B04];

B4

Band 5

B05 (SWIR)

Use: limited cloud penetration; provides good contrast between different types of vegetation; useful for measuring the moisture content of soil and vegetation; helps differentiate between snow and clouds.

Custom script: return [B05];

B5

Band 6

B06 (TIR or LWIR)

Use: useful to observe temperature and its effects, such as daily and seasonal variations; useful to identify some vegetation density, moisture, and cover type.

Custom script: return [B06];

B6

Band 7

B07 (SWIR 2)

Use: limited cloud penetration; provides good contrast between different types of vegetation; useful for measuring the moisture content of soil and vegetation; helps differentiate between snow and clouds.

Custom script: return [B07];

B7

Band 8

B08 (Panchromatic - “pan”)

Use: The near infrared band is good for mapping shorelines and biomass content, as well as at detecting and analyzing vegetation.

Custom script: return [B08];

B8