How to extract data for some particular region from 1 dimenational satellite data (spatial)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
SWARNENDU PAL
am 23 Jan. 2022
Kommentiert: SWARNENDU PAL
am 28 Jan. 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 Kommentare
Akzeptierte Antwort
Voss
am 23 Jan. 2022
load('sat_data.mat')
whos()
w
idx = inpolygon(lon,lat,w.X,w.Y);
scatter3(lon(idx),lat(idx),xch4(idx))
3 Kommentare
Voss
am 23 Jan. 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()
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu CubeSat and Satellites finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!