Example of Fig 5.11
Extended EOF
function example511 % % First EEOF mode for SST % flat = [-30 30]; flon = [120 300]; lnorm = 'anom'; mode=2; [zt,ind,fcos]=readsst(flat,flon,'season','all','scaling','yes'); norm(zt) [ntot,ntim]=size(zt); z=ones(size(zt)); [z(:,1:4:ntim),sdz]=anomaly(zt(:,1:4:ntim),lnorm); [z(:,2:4:ntim),sdz]=anomaly(zt(:,2:4:ntim),lnorm); [z(:,3:4:ntim),sdz]=anomaly(zt(:,3:4:ntim),lnorm); [z(:,4:4:ntim),sdz]=anomaly(zt(:,4:4:ntim),lnorm); [uu,lam,v,proj]=eeof(z,ind,34,1); % PLot EOF ----- figure(2) clf; ccc=[-.2:0.02:0.2]; lam(1) orient tall set(gcf,'papertype','a4'); subplot(411); a=uu(:,1); notavalue=find(a == 9999); a(notavalue)= NaN; llmap(a,flat,flon,ccc,[' Season 1'],'colorbar','off','colormap','gray', ... 'shading','off','extshad',[-0.02 0.02]); subplot(412); a=uu(:,2); notavalue=find(a == 9999); a(notavalue)= NaN; llmap(a,flat,flon,ccc,[' Season 2'],'colorbar','off','colormap','gray', ... 'shading','off','extshad',[-0.02 0.02]); subplot(413); a=uu(:,3); notavalue=find(a == 9999); a(notavalue)= NaN; llmap(a,flat,flon,ccc,[' Season 3'],'colorbar','off','colormap','gray', ... 'shading','off','extshad',[-0.02 0.02]); subplot(414); a=uu(:,4); notavalue=find(a == 9999); a(notavalue)= NaN; llmap(a,flat,flon,ccc,[' Season 4'],'colorbar','off','colormap','gray', ... 'shading','off','extshad',[-0.02 0.02]); maintitle({['EEOF Mode ', int2str(mode)], [num2str(lam(mode)*100,'%2.0f') '%']}); orient tall; print('-dpdf','-painters',[mfilename '.pdf']);
ans =
8.7499e+04
Normalization anom
Normalization anom
Normalization anom
Normalization anom
ans =
685 133
Expanded Field
ans =
0.3683
Colormap set to gray
Shading is off
Extreme shading with values set to -2.000000e-02
2.000000e-02
Reshaping for T30 Gaussian grid
Contouring from a minimum -0.2000
Contouring to a maximum 0.2000
Contouring interval is 0.0200
Contour values are:
-0.2000 -0.1800 -0.1600 -0.1400 -0.1200 -0.1000 -0.0800 -0.0600 -0.0400 -0.0200 0.0000 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000
Maximum field value 0.0637
Minimum field value -0.0229
Colormap set to gray
Shading is off
Extreme shading with values set to -2.000000e-02
2.000000e-02
Reshaping for T30 Gaussian grid
Contouring from a minimum -0.2000
Contouring to a maximum 0.2000
Contouring interval is 0.0200
Contour values are:
-0.2000 -0.1800 -0.1600 -0.1400 -0.1200 -0.1000 -0.0800 -0.0600 -0.0400 -0.0200 0.0000 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000
Maximum field value 0.0332
Minimum field value -0.0180
Colormap set to gray
Shading is off
Extreme shading with values set to -2.000000e-02
2.000000e-02
Reshaping for T30 Gaussian grid
Contouring from a minimum -0.2000
Contouring to a maximum 0.2000
Contouring interval is 0.0200
Contour values are:
-0.2000 -0.1800 -0.1600 -0.1400 -0.1200 -0.1000 -0.0800 -0.0600 -0.0400 -0.0200 0.0000 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000
Maximum field value 0.0205
Minimum field value -0.0566
Colormap set to gray
Shading is off
Extreme shading with values set to -2.000000e-02
2.000000e-02
Reshaping for T30 Gaussian grid
Contouring from a minimum -0.2000
Contouring to a maximum 0.2000
Contouring interval is 0.0200
Contour values are:
-0.2000 -0.1800 -0.1600 -0.1400 -0.1200 -0.1000 -0.0800 -0.0600 -0.0400 -0.0200 0.0000 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000
Maximum field value 0.0184
Minimum field value -0.0818