MATLAB Answers

Combine(mosaic) geolocated Earth data horizontally

3 views (last 30 days)
Sagar on 21 Dec 2017
Hi, I am processing MODIS level 2 data granules in hdf format. Reading one granule, I get one 203*135 sized 'latitude' matrix, another 203*135 sized 'longitude' matrix, and a corresponding 203*135 sized 'data' matrix. For a particular day, I have about 150 such granules covering the entire Earth meaning that I will have 150 sets of latitude, longitude, and data for each day. I need to combine all of those granules in some way (mosaic or combine horizontally) so that I can visualize all the granules at once. I also need to process the data for a longer period of time and do some calculations as well so creating one matrix for each day makes it more convenient. Could you please suggest a way to mosaic such geolocated data in matlab? I know there is a function called 'geoloc2grid' in matlab which is useful, I can use this function to resample the data to a fixed grid size (say 0.1 degree) but I need to combine the resulting data sets (horizontally) ultimately.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by