Borrar filtros
Borrar filtros

Redefining latitude and longitude variables

2 visualizaciones (últimos 30 días)
Tim Holgate
Tim Holgate el 5 de Feb. de 2021
Comentada: KSSV el 5 de Feb. de 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 comentario
KSSV
KSSV el 5 de Feb. de 2021
The very basic method is to go for interpolation. Read about interp2.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Geodesy and Mapping en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by