Stereographic plot of Sea Surface Temperature Data around Antarctica.
6 次查看(过去 30 天)
显示 更早的评论
I have Sea Surface Temperature(SST) data of the waters surrounding the antarctic. I would like to make a stereographic plot of the same. information available is longitude [1x360], latitude[1x30] and sst [360x30x12].
Can you please let me know the steps involved between reading the data and making a stereographic plot out of it ( A rough algorithm would be of great help). Based on the steps I will write the required code.
0 个评论
回答(1 个)
Chad Greene
2021-9-20
Hi Ravi,
There are a couple of ways to do this. Here's one way:
Turn your vectors of latitude,longitude coordinates into 2D grids, where each grid cell in Lat,Lon will correspond to a grid cell in SST:
[Lat,Lon] = meshgrid(latitude,longitude);
Use the Antarctic Mapping Tools function pcolorps to create a pcolor plot of the first slice of SST data:
h = pcolorps(Lat,Lon,SST(:,:,1));
I'm guessing the 12 slices of your SST data cube correspond to months of the year. If you want to loop through each slice to create an animation, you could adjust the CData values of the pcolorps plot like this:
for k = 1:12
h.CData = SST(:,:,k);
title(datestr(datenum(0,k,15),'mmm'))
pause(0.1)
end
1 个评论
Arnav Gupta
2022-6-17
Hey is there any way we can plot SST data as a stereographic projection using stereo function? I have data for lat, longitudes and SST
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!