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!