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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af852e3a5191fe4cdfdde7a7d7c40cd8f587612f2d4df478ed039770843ebda |
|
MD5 | c792938506d111f93eb54ea2a81745b9 |
|
BLAKE2b-256 | 0a5354b190c1e60d820f67fad4cb8964ec4abb154129a8370ac2b9723a931b3c |
File details
Details for the file drb_image_sentinel2-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: drb_image_sentinel2-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6752f185af3dee0ba5bf55a4208ab29f7fca6a554b49820cdef2e3beea44e7 |
|
MD5 | bb681d506a32c65ea3872f8faebdf0f6 |
|
BLAKE2b-256 | 4fdd0e2701f8704379ad8c808e93cab7012bb3df410a163fae9a3b84245aab73 |