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

[Import EnMAP L2A product] support L2A Analysis Ready Data from Geoservice / EOLAB #973

Closed
jakimowb opened this issue Sep 11, 2024 · 1 comment · Fixed by #975
Closed
Assignees
Labels
feature request New feature or request priority: high qpa This issue is related to a QGIS Processing Algorithm.

Comments

@jakimowb
Copy link
Contributor

jakimowb commented Sep 11, 2024

Requested by Emiliano Carmona via Email.

I tried to use EnMAP box import tool to load the L2A data from the geoservice and that does not work. With the filenames as downloaded from geoservice, the tool can’t find the Spectral file corresponding to the metadata file. That happens because in Geoservice the names of the TIF files have been modified and they add the suffix “_COG” at the end of the filename and change the extension from “.TIF” to “.tiff”. I am not sure but, I suspect that “COG” means “cloud optimized geotiff”, which is different from the normal Geotiff used in the standard products. I thought that perhaps renaming the files manually will fix the issue. In that case , there is no error, but the import is like 100 times slower. I had to kill QGIS, when it was at 4% of importing of the “COG” file after ~20 minutes running in my laptop. Perhaps it works, but it is not very practical.

What did work in the end (as I suspected) was to use gdal_translate and rename manually the files. The gdal translate command is as simple as:

_gdal_translate -f GTiff ENMAP01-____L2A-DT0000071543_20240502T105133Z_003_V010402_20240505T210636Z-SPECTRAL_IMAGE_COG.tiff ENMAP01-___L2A-DT0000071543_20240502T105133Z_003_V010402_20240505T210636Z-SPECTRAL_IMAGE.TIF

so it shall be not difficult to incorporate this into the import tool of EnMAP Box.

reported in follow-up mail:

And while you discuss with them, perhaps you can also mention that perhaps a similar issue will happen with the DESIS ARD dataset to be added to the Geoservice. In this case however, I have not tested anything because they are still preparing the DESIS data.

And please, do not forget to mention that this is for the ARD dataset, for the standard processing all works as usual. The difference is that they will have to maintain 2 types of input.

@jakimowb jakimowb added bug Something isn't working priority: high labels Sep 11, 2024
@janzandr janzandr changed the title EnMAP-Box fails to import EnMAP COG data [Import EnMAP L2A product] support L2A Analysis Ready Data from Geoservice / EOLAB Sep 12, 2024
@janzandr janzandr added feature request New feature or request and removed bug Something isn't working labels Sep 12, 2024
@janzandr janzandr added this to the 3.15 (feature) milestone Sep 12, 2024
@janzandr janzandr added the qpa This issue is related to a QGIS Processing Algorithm. label Sep 27, 2024
@jakimowb
Copy link
Contributor Author

relates to OSGeo/gdal#10859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request priority: high qpa This issue is related to a QGIS Processing Algorithm.
Projects
None yet
2 participants