Effacer les filtres
Effacer les filtres

Redefining latitude and longitude variables

2 vues (au cours des 30 derniers jours)
Tim Holgate
Tim Holgate le 5 Fév 2021
Commenté : KSSV le 5 Fév 2021
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 commentaire
KSSV
KSSV le 5 Fév 2021
The very basic method is to go for interpolation. Read about interp2.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Geodesy and Mapping dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by