MATLAB Answers

How to find a particular value of a grid resolution from satellite data?

4 ビュー (過去 30 日間)
SWARNENDU PAL 2021 年 8 月 21 日
コメント済み: SWARNENDU PAL 2021 年 8 月 23 日
Hello everyone. I have plotted a satellite data over delhi region. Those rectangular boxes are the resolutions of the data. Now You can see three stars in the picture. I want the value of the corresponding resolutions where the stars are situated or nearest to the star. For example, the star which is situated in the northern region, it's corresponding box color has sky blue. So i want the particular value. But for other two stars are not situated over any color. So for those I want the nearest resolution value. I can share the data, the data is big so i could not share the data. Please show me some light on this. I have latitude data,longitude data and the corresponding variable data. Those stars are drawn by me, they are the coordinates for some particular area. Thank you.
  1 件のコメント
Adam Danz
Adam Danz 2021 年 8 月 22 日
How is the grid defined and how is it plotted?


回答 (1 件)

KSSV 2021 年 8 月 22 日
To get the resolution, you need to find the difference between sucessive latitudes and longitudes. Read about unique and diff function.
To get the nearest points to a given point, you can use knnsearch. Read about this function.
  1 件のコメント
SWARNENDU PAL 2021 年 8 月 23 日
Thanks for your response sir. I want to apply the first method. But the data are irregular, Some of them have dimension of 215x3245,aome of them have 215x4174 and also some other dimensions are there. If you please say the solution more elaborately that will be really helpful. Thank you sir.


Community Treasure Hunt

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

Start Hunting!

Translated by