Redefining latitude and longitude variables

2 ビュー (過去 30 日間)
Tim Holgate
Tim Holgate 2021 年 2 月 5 日
コメント済み: KSSV 2021 年 2 月 5 日
Hello
I have two data sets: a sea surface salinity product for the southern ocean, in a 38 x 1388 x 12 3D Array, in which the data is in 25km x 25km grid (arranged by Lat, Lon, Month). I also have an ocean mixed layer depth product for the Southern Ocean in a 41 x 720 x 12 3D Array, in which data is in a 0.5 degree x 0.5 degree grid (again arranged by lat, lon , month). In order to calculate the salinity budget I have to get these 2 data sets on to the same grid (AKA: the latitudes and longitudes need to match). My supervisor has told me I should put the mixed layer product onto the salinity product in order to retain the higher resolution of the product.
<-- This is my mixed layer latitudes (same format for longitudes).<-- This is my salinity latitude (same format for longitude).
From what I gather I am going to have to quite heavily modify my mixed layer product, in the form of repeating columns and rows before rewriting the latitudes from the salinity product onto these. However, I am fairly inexperienced at MATLAB and don't really have an idea of where to start on this issue. Any pointers you could give me would be incredibly well recieved!!
Thanks in advance!!
  1 件のコメント
KSSV
KSSV 2021 年 2 月 5 日
The very basic method is to go for interpolation. Read about interp2.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by