-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathanimacion_libano.m
50 lines (46 loc) · 1.24 KB
/
animacion_libano.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
start
j=2
if j < 2
for i = 1:365
i
horizslice('croco_his.nc.Y3','temp',i,-1,[0 0 0 0],1,0,...
15,30,[],37.0,30,38,...
10,1,'100 500',3,1,0.1,...
'coastline_f.mat','town.dat','croco_his.nc.Y3',[],[],NaN)
if i < 999
fname=['Lebanon_SST_',num2str(i),'.png'];
end
if i < 99
fname=['Lebanon_SST_0',num2str(i),'.png'];
end
if i < 9
fname=['Lebanon_SST_00',num2str(i),'.png'];
end
print('-dpng',fname)
close all
end
end
if j > 1
for i = 1:365
i
horizslice('croco_his.nc.Y3','*Speed',i,-1,[0 0 0 0],1,0,...
0,0.50,[],37.0,30,38,...
10,1,'100 500',3,1,0.1,...
'coastline_f.mat','town.dat','croco_his.nc.Y3',[],[],NaN)
if i < 999
fname=['Lebanon_SSM_',num2str(i),'.png'];
end
if i < 99
fname=['Lebanon_SSM_0',num2str(i),'.png'];
end
if i < 9
fname=['Lebanon_SSM_00',num2str(i),'.png'];
end
print('-dpng',fname)
close all
end
end
%horizslice(hisfile,vname,tindex,vlevel,rempts,coef,gridlevs,...
% colmin,colmax,lonmin,lonmax,latmin,latmax,...
% ncol,pltstyle,isobath,cstep,cscale,cunit,...
% coastfile,townfile,gridfile,h0,handles,Yorig)