Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

adamjstewart
Copy link
Collaborator

@adamjstewart adamjstewart commented Jan 28, 2025

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:

enmap5

@adamjstewart adamjstewart added this to the 0.7.0 milestone Jan 28, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation datasets Geospatial or benchmark datasets testing Continuous integration testing labels Jan 28, 2025
@@ -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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:
Copy link
Collaborator Author

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:
Copy link
Collaborator Author

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')
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets documentation Improvements or additions to documentation testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant