-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EnMAP dataset #2543
base: main
Are you sure you want to change the base?
Add EnMAP dataset #2543
Conversation
@@ -8,6 +8,7 @@ Dataset,Type,Source,License,Size (px),Resolution (m) | |||
`Global Mangrove Distribution`_,Masks,"Remote Sensing, In Situ Measurements","public domain",-,3 | |||
`Cropland Data Layer`_,Masks,Landsat,"public domain",-,30 | |||
`EDDMapS`_,Points,Citizen Scientists,-,-,- | |||
`EnMAP`_,Imagery,EnMAP,-,"1,200x1,200",30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They have their own custom license: https://www.enmap.org/data/resources/EnMAP_Data_License.pdf
from .utils import Path, percentile_normalization | ||
|
||
ALL_BANDS = list(range(1, 225)) | ||
# Remove bands strongly affected by water vapor absorption due to presence of nodata: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be common practice, at least in HySpecNet-11k and SpectralEarth
* Sufficient on-board memory to acquire 1,000 km swath length per orbit and a | ||
total of 5,000 km per day. | ||
|
||
If you use this dataset in your research, please cite the following papers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically you should only cite these papers when referring to the EnMAP mission, not EnMAP data. But I couldn't find a specific citation to use for EnMAP data.
|
||
all_bands = tuple(f'B{n}' for n in ALL_BANDS) | ||
default_bands = tuple(f'B{n}' for n in DEFAULT_BANDS) | ||
rgb_bands = ('B48', 'B30', 'B16') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There doesn't seem to be a general agreement on what bands to use to create a "true color" visualization of hyperspectral imagery. I was basically told to use the wavelengths closest to Sentinel-2 RGB bands, so these are the ones I chose.
Formal data loader for EnMAP hyperspectral data.
Will update HySpecNet-11k to use this new metadata once this is merged.
Plotting example image from https://geoservice.dlr.de/eoc/ogc/stac/v1/collections/ENMAP_HSI_L2A/items/ENMAP01-____L2A-DT0000001053_20220611T072305Z_002_V010400_20231221T134421Z: