How to extract data for some particular region from 1 dimenational satellite data (spatial)
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
SWARNENDU PAL
el 23 de En. de 2022
Comentada: SWARNENDU PAL
el 28 de En. de 2022
I have level 2 satellite data. There are 3 variables, two of them are latitude and longitude and the other one is the physical variable (methane concentration). I have to extract the data from this global set of data for Delhi region. But the problem is that concentration has only one dimension, so I could not extract the data for my desired region. I have attahed the lat, lon, var and the shapefile for which I need to extract the data. It will be really helpful if anyone could please help me in this problem that will be really nice. Thank you.
0 comentarios
Respuesta aceptada
Voss
el 23 de En. de 2022
load('sat_data.mat')
whos()
w
idx = inpolygon(lon,lat,w.X,w.Y);
scatter3(lon(idx),lat(idx),xch4(idx))
3 comentarios
Voss
el 23 de En. de 2022
load('sat_data.mat')
idx = inpolygon(lon,lat,w.X,w.Y);
lon = double(lon);
lat = double(lat);
xch4 = double(xch4);
I = scatteredInterpolant(lon(idx),lat(idx),xch4(idx),'linear','none');
ulon = unique(lon(idx));
ulat = unique(lat(idx));
[x,y] = meshgrid(ulon,ulat);
p = pcolor(ulon,ulat,I(x,y));
set(p,'EdgeColor','none');
colorbar()
Más respuestas (0)
Ver también
Categorías
Más información sobre CubeSat and Satellites en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!