MATLAB Answers

0

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

Asked by Offer Rozenstein on 10 May 2016
Latest activity Answered by Chad Greene
on 12 Sep 2017
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?

  0 Comments

Sign in to comment.

3 Answers

Answer by Tianqi Zhang on 18 Oct 2016

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

  0 Comments

Sign in to comment.


Answer by Offer Rozenstein on 18 Oct 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.

  0 Comments

Sign in to comment.


Answer by Chad Greene
on 12 Sep 2017

I wrote a function for this, which is available on File Exchange here.

  0 Comments

Sign in to comment.