How to find a particular value of a grid resolution from satellite data?
4 views (last 30 days)
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.
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.