Need help creating multidimensional raster from Sentinel2 L2A images

275
2
02-25-2024 11:02 AM
quillaja
New Contributor III

I have downloaded a number of images clipped to my AOI from Sentinel Hub using their python api. Each image has 17 bands (11 spectral and 6 data such as cloud mask), and each image is (I think) a combination of available tiles for a particular observation day (eg 2024-02-01, 2024-02-06,...).

I would like to be able to put these into a multidimensional raster to do analysis, like in this video https://www.youtube.com/watch?v=HFbTFTnsMWM. I can make the datasets, etc, but my "footprints" attributes doesn't have any of the things that the video example uses, like "GroupName", "ProductName", or "Acquisition Date". I don't know where ArcPro is getting that information (each tiff's EXIF? some xml or json metadata file?).

Can anyone provide some guidance?   

The ultimate goal is, for each date, to be able to do use the bands to calculate something like an index, then use another vector layer to zonal statistics.

0 Kudos
2 Replies
Iqbal_P
New Contributor II

Hi,

I tried using the data downloaded from ESA Copernicus (https://dataspace.copernicus.eu/) and it looks fine to me. The result has the columns GroupName, ProductName, and AcquistionDate as your concern. 

mosaicdataset.png

By any chance, do you have a file with extension .xml or .safe in your downloaded dataset? It seems that ArcGIS Pro uses this metadata when creating mosaic datasets. It looks like in this image

IqbalJEID_1-1709024663673.png

 

 

 

quillaja
New Contributor III

Thanks. I looked at copernicus.eu to get my imagery, but ultimately decided to go with sentinel-hub's python api (though the actual api call looks identical, from what I can tell). sentinel hub just sent a tiff and a json copy of the request params, nothing else.

I did manage to get the multidimensional dataset working though. The video wasn't very helpful, but this page (https://pro.arcgis.com/en/pro-app/3.1/help/data/imagery/create-a-multidimensional-mosaic-dataset-fro...) mentions that you can manually create data to act as the "variable" (I put "spectral" into "ProductName" for example) and I can use calculate field to complete the AcquisitionDate from my filenames. After that, "build multidimensional data" worked fine.

0 Kudos