Skip to main content

Sentinel-2 Product

Project description

DRB Sentinel-2 Image AddOn

This addon enrich the Sentinel-2 Product topics with a preview image extractor.

Available Images

Product Image name Path
Level-1C preview GRANULE//QI_DATA/_PVI.jp2
Level-1C TrueColorImage GRANULE//IMG_DATA/_TCI*.jp2
Level-1C {band_name}] GRANULE/*/IMG_DATA/{band_name}
Level-2A preview GRANULE//QI_DATA/_PVI.jp2
Level-2A TrueColorImage GRANULE//IMG_DATA/_TCI*.jp2
Level-2A {band_name} GRANULE//IMG_DATA//{band_name}

{band_name} correspond to the name of the actual .jp2 file

Example

zip_node = resolver.create('/path/to/sentinel2.zip')
safe_node = zip_node[0]
# Retrieve the addon image object corresponding to the product (preview by default)
image = AddonImage.apply(safe_node)
# The image name can be specified
image = AddonImage.apply(safe_node, image_name='preview')
# Retrieve the drb-driver-image node corresponding to the addon using the default extraction
addon_image_node = image.image_node()
# Retrieve the rasterio implementation of the default image
dataset = image.get_impl(rasterio.DatasetReader) 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drb-image-sentinel2-1.0.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

drb_image_sentinel2-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file drb-image-sentinel2-1.0.0.tar.gz.

File metadata

  • Download URL: drb-image-sentinel2-1.0.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for drb-image-sentinel2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8af852e3a5191fe4cdfdde7a7d7c40cd8f587612f2d4df478ed039770843ebda
MD5 c792938506d111f93eb54ea2a81745b9
BLAKE2b-256 0a5354b190c1e60d820f67fad4cb8964ec4abb154129a8370ac2b9723a931b3c

See more details on using hashes here.

File details

Details for the file drb_image_sentinel2-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drb_image_sentinel2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee6752f185af3dee0ba5bf55a4208ab29f7fca6a554b49820cdef2e3beea44e7
MD5 bb681d506a32c65ea3872f8faebdf0f6
BLAKE2b-256 4fdd0e2701f8704379ad8c808e93cab7012bb3df410a163fae9a3b84245aab73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page