Example of Fig 4.7

Z500 Standard Deviation

function example47
%
% Plot examples of geopotential
%

flon = [ 120 360];lonbox=flon;
flat = [ 0 90];latbox=flat;
vlat = [ 34 60 30];
vlon = [ 210 220 280];
ilat = [ 34 41 33];
ilon = [ 56 59 75];

s = [96 48];

tit = ' Z500 Geopotential Heights';
[zt,ind,fcos]=readz500(latbox,lonbox,'season','jfm','scaling','yes');


z=std(zt')';

clf;axis on;
% Choose grid
%
%
if s(1) == 96 & s(2) == 48
llat = [ -87.16    -83.48    -79.78    -76.07    -72.36    -68.65 ...
      -64.94    -61.23    -57.52    -53.81    -50.10    -46.39 ...
    -42.68    -38.97    -35.26    -31.54    -27.83    -24.12 ...
    -20.41    -16.70    -12.99     -9.28     -5.57     -1.86 ...
      1.86      5.57      9.28     12.99     16.70     20.41 ...
     24.12     27.83     31.54     35.26     38.97     42.68 ...
     46.39     50.10     53.81     57.52     61.23     64.94 ...
     68.65     72.36     76.07     79.78     83.48     87.16 ]';
llon = 0:3.75:(359.+3.76)';

elseif s(1) == 72 & s(2) == 16
llat = 15:5:90';
llon = 0:5:(359.+5)';


elseif s(1) == 128 & s(2) == 64
  llat = [  -87.86380     -85.09653     -82.31291     -79.52560 ...
  -76.73690     -73.94751     -71.15775     -68.36775     -65.57760 ...
  -62.78735     -59.99701     -57.20662     -54.41619     -51.62573 ...
  -48.83523     -46.04472     -43.25418     -40.46364     -37.67308 ...
  -34.88251     -32.09193     -29.30135     -26.51076     -23.72016 ...
  -20.92956     -18.13896     -15.34835     -12.55774      -9.76713 ...
   -6.97652      -4.18590      -1.39529       1.39529       4.18590 ...
    6.97652       9.76713      12.55774      15.34835      18.13896 ...
   20.92956      23.72016      26.51076      29.30135      32.09193 ...
   34.88251      37.67308      40.46364      43.25418      46.04472 ...
   48.83523      51.62573      54.41619      57.20662      59.99701 ...
   62.78735      65.57760      68.36775      71.15775      73.94751 ...
   76.73690      79.52560      82.31291      85.09653      87.86380 ]';
llon = 0:2.8125:(359.+2.82)';

end


%  Coast
load coast;
if lonbox(2) - lonbox(1) < 80;
 dmerid= [];
else
 dmerid=60;
end
if latbox(2) - latbox(1) < 40;
 dpar= [];
else
 dpar=30;
end

subplot(211)
bigtit{1}= ['Test data 500mb Geopotential Heights'];
bigtit{2}= ['Standard Deviation'];
sdz=expand(z,ind,[96 48]);
llmap(sdz,flat,flon,[0:5:80],bigtit,'shading','off');

print('-dpdf','-adobecset','-painters',['example05.pdf']);


return;
Shading is  off 
Reshaping for T30 Gaussian grid
Contouring from a minimum 0.0000 
Contouring to a maximum 80.0000 
Contouring interval is  5.0000 
Contour values are: 
0.0000 5.0000 10.0000 15.0000 20.0000 25.0000 30.0000 35.0000 40.0000 45.0000 50.0000 55.0000 60.0000 65.0000 70.0000 75.0000 80.0000 
Maximum field value 57.6835 
Minimum field value 2.0090