Turning 3d array into climatology data

조회 수: 2 (최근 30일)
Kate
Kate 2013년 7월 11일
댓글: reddy 2014년 7월 30일
Hi there!
So I have monthly gridded datasets in lat/lon/time(monthly): Example:
>> whos KoppenD_airT
Name Size Bytes Class Attributes
KoppenD_airT 360x720x361 374284800 single
>> whos KoppenDsa_airT
Name Size Bytes Class Attributes
KoppenDsa_airT 360x720x361 374284800 single
>> whos KoppenDsb_airT
Name Size Bytes Class Attributes
KoppenDsb_airT 360x720x361 374284800 single
I need to create climatologies of these regions so that I can plot monthly changes in temperature over my 30 year climate period. What is the best way to do this?
Thanks a bunch!
  댓글 수: 2
Kate
Kate 2013년 7월 11일
Here's one attempt I've made that isn't working:
idx=find(Dsa);
for ii=idx
y=ind2sub(size(KoppenDsa_airT),ii);
x=squeeze(KoppenDsa_airT(y,:));
end
I get:
Index exceeds matrix dimensions.
reddy
reddy 2014년 7월 30일
hello kate,
I am working on weekly,monthly and yearly climatology. Did your doubt clarified..??
I am also having similar doubt, if you could clarify my doubt, write it on the wall thanks in advance.
the wind data is weekly data from 1999 to 2009. now i would like to make monthly climatology and yearly climatology. how to do that...?
z = ncread('uwind_weekly_quick.nc','U');
whos z
Name Size Bytes Class Attributes
z 360x160x574 264499200 double

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Weather and Atmospheric Science에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by