Open ajvershov-alt opened 11 months ago
@kaminka-krasovsky to select all the band it is better to set a list of 1 as the number of the band. Do you have xml file for that two .hdf files?
@lucadelu Yes, here are their filenames:
MCD18A1.A2020001.h10v03.061.2020350135843.hdf.xml MCD18A1.A2020001.h11v03.061.2020350135958.hdf.xml
How would I set a list of 1? Would I write it as just '1' or some other way?
@lucadelu What should I do with the XML files?
the XML files are used internally to read some parameters, @kaminka-krasovsky could you please share your data to test?
@lucadelu I compressed the HDFs and XMLs into a ZIP, but I'm having trouble getting Git LFS to track them in a repository so that I may share them.
I can, however, show how I downloaded the data through pyModis:
modis_down = pymodis.downmodis.downModis(
destinationFolder = 'D:/MODIS',
password = 'password',
user = 'user',
url = 'https://e4ftl01.cr.usgs.gov',
path = 'MOTA',
tiles = ['h11v03', 'h10v03'],
today = '2020-01-01',
delta = 1,
product = 'MCD18A1.061',
debug = True
)
modis_down.connect()
modis_down.downloadsAllDay()
@lucadelu Update: I successfully got Git LFS to track the ZIP in the repository. I've added you to the repository as a collaborator.
Thank you for looking into this.
Hello,
I've come across an issue whenever I try to use createMosaicGDAL.
The code I've written:
The error I get:
I assume the issue is with what I've written for "subset"? I'm trying to mosaic all of the data together, not just one or two bands. I've tried specifying subsets anyway, but it still doesn't work.
I'm using Python 3.8.18, pyModis 2.3.0, and GDAL 3.8.2.