How can I get the sea ice concentration data corresponding to the latitude and longitude from the geotiff file?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I got daily sea ice concentration data from https://nsidc.org/data/G02135/versions/3(please see attachment), but the file is in geotiff format, and I don’t know about geotiff format. I don't know how to get sea ice concentration data corresponding to longitude and latitude from geotiff?
Hope to get your help! Thank you very much!
Bei.
0 commentaires
Réponse acceptée
KSSV
le 18 Oct 2021
filename = 'N_20180101_concentration_v3.0.tif' ;
[A,R] = readgeoraster(filename) ; % If not try geotiffread
[m,n] = size(A) ;
x = linspace(R.XWorldLimits(1),R.XIntrinsicLimits(2),n) ;
y = linspace(R.YWorldLimits(1),R.YIntrinsicLimits(2),m) ;
[X,Y] = meshgrid(x,y) ;
figure(1)
mapshow(A,R)
figure(2)
pcolor(X,Y,A);
shading interp ;
6 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Geographic Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!