source: trunk/mesoscale/PLOT/SPEC/LES/generate_datafile.pro @ 85

Last change on this file since 85 was 85, checked in by aslmd, 14 years ago

LMD_MM_MARS et LMD_LES_MARS: ajout des routines IDL pour tracer les sorties --> voir mesoscale/PLOT

File size: 1.8 KB
Line 
1;pro try
2
3
4restore, filename='getturb.dat'
5
6;;wt, tke, ztke, h, ht, t, p, pt, stst, localtime, xtke, ytke, wmax, wmin, depressions, psmin, filename='getturb.dat'
7
8
9nz = n_elements(wt(*,0))
10nt = n_elements(wt(0,*))
11
12;
13; nz: colonnes
14; nt: lignes
15;
16
17openw, lun, 'LES_MERIDIANI_vert_levels.txt', /GET_LUN
18printf, lun, h, format='(F12.6)'
19close, lun
20free_lun, lun
21
22openw, lun, 'LES_MERIDIANI_local_times.txt', /GET_LUN
23printf, lun, localtime, format='(F12.6)'
24close, lun
25free_lun, lun
26
27openw, lun, 'LES_MERIDIANI_TKE.txt', /GET_LUN
28printf, lun, tke, format='('+string(nz,'(I0)')+'F12.6)'
29close, lun
30free_lun, lun
31
32openw, lun, 'LES_MERIDIANI_xTKE.txt', /GET_LUN
33printf, lun, xtke, format='('+string(nz,'(I0)')+'F12.6)'
34close, lun
35free_lun, lun
36
37openw, lun, 'LES_MERIDIANI_yTKE.txt', /GET_LUN
38printf, lun, ytke, format='('+string(nz,'(I0)')+'F12.6)'
39close, lun
40free_lun, lun
41
42openw, lun, 'LES_MERIDIANI_zTKE.txt', /GET_LUN
43printf, lun, ztke, format='('+string(nz,'(I0)')+'F12.6)'
44close, lun
45free_lun, lun
46
47openw, lun, 'LES_MERIDIANI_Wmax.txt', /GET_LUN
48printf, lun, wmax, format='('+string(nz,'(I0)')+'F12.6)'
49close, lun
50free_lun, lun
51
52openw, lun, 'LES_MERIDIANI_Wmin.txt', /GET_LUN
53printf, lun, wmin, format='('+string(nz,'(I0)')+'F12.6)'
54close, lun
55free_lun, lun
56
57openw, lun, 'LES_MERIDIANI_Tpot.txt', /GET_LUN
58printf, lun, t, format='('+string(nz,'(I0)')+'F12.6)'
59close, lun
60free_lun, lun
61
62restore, filename='addturb.dat'
63openw, lun, 'LES_MERIDIANI_VELmax.txt', /GET_LUN
64printf, lun, VELMAX, format='('+string(nz,'(I0)')+'F12.6)'
65close, lun
66free_lun, lun
67
68
69
70;yeye = fltarr(nz,nt)
71;openr, lun, 'LES_MERIDIANI_Tpot.txt', /GET_LUN
72;readf, lun, yeye
73;close, lun
74;free_lun, lun
75;contour, transpose(yeye), nlevels=20
76
77yeye2 = fltarr(nz,nt)
78openr, lun, 'LES_MERIDIANI_TKE.txt', /GET_LUN
79readf, lun, yeye2
80close, lun
81free_lun, lun
82contour, transpose(yeye2), nlevels=20
83
84
85;end
Note: See TracBrowser for help on using the repository browser.