Getting data values using lat and lon indexes

4 views (last 30 days)
Hello,
I have 2 column vectors (latitude (2401,1) and longitude (2401,1) and 1 matrix (Cloud top temperature (2401x2401)) extracted from a netcdf file. I would like to know the matrix values corresponding to specific latitude and longitude points. How can I do this?
P.S: I want to do this for 20 netcdf files.
Thank you!

Accepted Answer

darova
darova on 20 Feb 2021
I'd use interp2

More Answers (0)

Community Treasure Hunt

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

Start Hunting!