How can I plot MODIS HDF-EOS grid images into geographic coordinates (lat-lon)?

9 次查看(过去 30 天)
When I finish my analysis I have a 2400X2400 matrix that I want to plot, but since the original image was in sinusoidal projection, when I use imagesc it plots the image in a distorted way. I want to convert the image to geographic coordinates before plotting it. How can this be done?

回答(3 个)

Tianqi Zhang
Tianqi Zhang 2016-10-18
Hi,
I am exactly meeting the same problem. I wonder if you have figured out this problem yet?
Thanks

Offer Rozenstein
Offer Rozenstein 2016-10-18
Hi, I extracted the pixel lat-lon coordinates using this: https://www.mathworks.com/matlabcentral/fileexchange/37033-find-pixel-indices-in-hdf-eos-files-based-on-latlon-coordinates
and then used surfm to plot.

Chad Greene
Chad Greene 2017-9-12
I wrote a function for this, which is available on File Exchange here.

Community Treasure Hunt

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

Start Hunting!

Translated by