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

2 views (last 30 days)
SWARNENDU PAL
SWARNENDU PAL on 21 Aug 2021
Commented: SWARNENDU PAL on 23 Aug 2021
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.

Answers (1)

KSSV
KSSV on 22 Aug 2021
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 Comment
SWARNENDU PAL
SWARNENDU PAL on 23 Aug 2021
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by