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

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?

1 Kommentar

Hi,
I am exactly meeting the same problem. I wonder if you have figured out this problem yet?
Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Tianqi Zhang
Tianqi Zhang am 18 Okt. 2016
Hi,
I am exactly meeting the same problem. I wonder if you have figured out this problem yet?
Thanks
Offer Rozenstein
Offer Rozenstein am 18 Okt. 2016
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 am 12 Sep. 2017
I wrote a function for this, which is available on File Exchange here.

Gefragt:

am 10 Mai 2016

Community Treasure Hunt

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

Start Hunting!

Translated by