Hello, I' m working with netcdf files. I have 4D matrixes of current water velocity. The dimensions are f.e. 359x274x1x24 for a u variable (eastward sea velocity). How can I get the current velocity of one point having the longitude and latitude?

2 views (last 30 days)
The dimensions of the matrix are (longitude, latitude, depth, time). The longitude and latitude of the point are 1º13.23'E and 41º4.38'N.
Thanks

Answers (1)

Bosong Lin
Bosong Lin on 5 Apr 2018
Hi Jose,
I think that you need to correctly refer to the points using indices. For the point at 1º13.23'E and 41º4.38'N, what are the indices in 4D matrix?
Bosong

Tags

Community Treasure Hunt

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

Start Hunting!