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?

1 回表示 (過去 30 日間)
Jose Ruiz
Jose Ruiz 2018 年 3 月 11 日
回答済み: Bosong Lin 2018 年 4 月 5 日
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

回答 (1 件)

Bosong Lin
Bosong Lin 2018 年 4 月 5 日
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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by