Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Indexing multilayer HDF files #221

Open
giorgiobasile opened this issue Nov 18, 2021 · 1 comment
Open

Indexing multilayer HDF files #221

giorgiobasile opened this issue Nov 18, 2021 · 1 comment

Comments

@giorgiobasile
Copy link

giorgiobasile commented Nov 18, 2021

I'm trying to index some MODIS HDF files, my understanding looking at some examples (i.e. this one) is that I should produce datasets documents having something like:

measurements:
  lc_type_1: 
    path: file.hdf
    layer: LC-Type1 # name of the HDF layer
  lc_type_2:
    path: file.hdf # same file as above
    layer: LC-Type2

Unfortunately, I don't understand how to achieve this with eo-datasets, as the note_measurement and write_measurement APIs do not allow to specify anything like a layer.
Is there any solution for this?

@giorgiobasile
Copy link
Author

I have found a related discussion on GIS StackExchange, support has been added for eodatasets>=0.23, although I noticed only the write_measurement method supports multi-band images, but not the note_measurement one.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant