s2d2.sentinel2_instrument

Module Contents

Functions

dn_to_toa(img_dn)

convert the digital numbers of Sentinel-2 to top of atmosphere (TOA), see

Attributes

center_wavelength

center_wavelength

full_width_half_max

full_width_half_max

bandid

gsd

along_pixel_size

across_pixel_size

crossdetector_parallax

crossdetector_parallax

common_name

sensor_array

MSI_SPECIFICS

s2d2.sentinel2_instrument.center_wavelength[source]
s2d2.sentinel2_instrument.center_wavelength[source]
s2d2.sentinel2_instrument.full_width_half_max[source]
s2d2.sentinel2_instrument.full_width_half_max[source]
s2d2.sentinel2_instrument.bandid[source]
s2d2.sentinel2_instrument.gsd[source]
s2d2.sentinel2_instrument.along_pixel_size[source]
s2d2.sentinel2_instrument.across_pixel_size[source]
s2d2.sentinel2_instrument.crossdetector_parallax[source]
s2d2.sentinel2_instrument.crossdetector_parallax[source]
s2d2.sentinel2_instrument.common_name[source]
s2d2.sentinel2_instrument.sensor_array[source]
s2d2.sentinel2_instrument.MSI_SPECIFICS[source]
s2d2.sentinel2_instrument.dn_to_toa(img_dn)[source]

convert the digital numbers of Sentinel-2 to top of atmosphere (TOA), see for more details [wwwS2L1C].

Parameters:

img_dn (numpy.ndarray, dim={2,3}, size=(m,n)) – grid with intensities

Returns:

grid with top of atmosphere reflectances

Return type:

numpy.ndarray, dim={2,3}, size=(m,n)

Notes