source: trunk/MESOSCALE/PLOT/SPEC/LES/turb_period_psfc.pro @ 134

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

M 116 mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
* CORRECTION MAJEURE DE BUG : PSFC et TRACEURS PAS BIEN MIS A JOUR *

  • pdq au lieu de pdq*dt (dt = pas de temps dynamique)
  • idem pour pdpsrf

IMPACT SURTOUT SUR LES SIMULATIONS LONGUES ET LES SIMULATIONS TACHE DE POUSSIERE (stage Julien)
TEST A EFFECTUER POUR LES SIMULATIONS CYCLE DE L'EAU

M 116 mars/libf/phymars/newsedim.F
M 116 mars/README
Correction de deux bugs dans newsedim.F: 1-e(-x) trop faible et endif mal place

M 116 mesoscale/LMDZ.MARS.new/myGCM/start.nc
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM/run.def
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM/traceur.def
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM/startfi72.nc
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM/start72.nc
A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/SP51_HR_dq_r3.0n0.5a0.5_MY26_TM/callphys.def
M 116 mesoscale/LMDZ.MARS.new/myGCM/traceur.def
M 116 mesoscale/LMDZ.MARS.new/myGCM/startfi.nc
M 116 mesoscale/LMDZ.MARS.new/myGCM/callphys.def
M 116 mesoscale/LMD_MM_MARS/SIMU/in_lmdz_mars_newphys/compile
M 116 mesoscale/LMD_MM_MARS/SIMU/in_lmdz_mars_newphys/myGCM/launch_gcm
M 116 mesoscale/LMD_MM_MARS/SIMU/in_lmdz_mars_newphys/myGCM/run_mcd_3days
Nouvelle base de donnees d'etats initiaux sans les nuages radiativement actifs

A 0 mesoscale/PLOT/SPEC/LES/turb_period_psfc.pro
A 0 mesoscale/PLOT/SPEC/LES/turb_inc.pro.new
M 116 mesoscale/PLOT/SPEC/GW/gravitwave2.pro
M 116 mesoscale/PLOT/SPEC/GW/gravitwaveprof.pro
Petites MAJ routines graphiques

  • Property svn:executable set to *
File size: 5.2 KB
Line 
1pro turb_period
2;
3;
4;
5what_I_plot=0.
6overcontour=0.
7SPAWN, '\rm param_plot.idl ; cp turb_inc.pro param_plot.idl'
8;;
9;;
10;;
11;altiuser=0.5
12start_lt = 9. ;8
13zefile='psfc' ;'turbh_period'
14overvector_x = 0
15overvector_y = 0
16freq_out = 50. ;100.
17dx = 10.
18;
19;
20;
21filefile = "/home/aymeric/Work/submitted/mars_journal/LMD_MM_MARS_ustar_LEScaseC.nc"
22filefile = "/home/aymeric/extract.nc"
23filefile = "/home/aslmd/bigLES10m/psfc.nc"
24;getcdf, file=filefile, charvar="USTM", invar=zevar
25;getcdf, file=filefile, charvar="U", invar=zeu
26;getcdf, file=filefile, charvar="V", invar=zev
27;getcdf, file=filefile, charvar="W", invar=zew
28getcdf, file=filefile, charvar="PSFC", invar=zevar
29
30        nx = n_elements(zevar(*,0,0))
31        ny = n_elements(zevar(0,*,0))
32        ntot = n_elements(zevar(0,0,*))
33        ;lon = findgen(nx) / 10.
34        ;lat = findgen(ny) / 10.
35        ;;lon = findgen(2*nx+1) / 10.
36        ;;lat = findgen(2*ny+1) / 10.
37        lon = findgen(2*nx+1) * dx ;/ 1000.
38        lat = findgen(2*ny+1) * dx ;/ 1000.
39    lon = findgen(nx) * dx ;/ 1000.
40    lat = findgen(ny) * dx ;/ 1000.
41
42
43alpha=1
44;nstart=195
45;nend=198
46;;nend=215
47;nstride=1
48        ;nstart=1
49        ;nend=n_elements(zevar(0,0,*))-1
50        ;nstride=10
51nstart=0
52nend=n_elements(zevar(0,0,*))-1
53nstride=1
54for nt=nstart,nend,nstride do begin
55print, nt
56;
57;
58;
59  PS_Start, filename=zefile+string(1000+alpha,'(I0)')+'.ps'
60  print, zefile+'.ps'
61  ;!p.multi=[0,3,2]
62  ;!P.Charsize = 0.6
63        !P.Charsize = 1.2
64        !p.charthick = 2.0
65        !p.thick = 2.0
66        !x.thick = 2.0
67        !y.thick = 2.0
68;;
69;;
70;;
71;restore, filename='../LES/MERIDIANI_tau100/savew'
72;;restore, filename='../LES/MERIDIANI_tau100_wind10/savew'
73;;restore, filename='../LES/MERIDIANI_tau100_wind20/savew'
74;;;restore, filename='saveu'
75;indind=where(abs(h - altiuser) eq min(abs(h - altiuser)))
76;print, h(indind)
77;;
78;;
79;;
80;;what_I_plot = reform(wprime(*,*,indind))
81;what_I_plot = wprime(*,*,indind)
82;;what_I_plot = veltot(*,*,indind)
83;;contour, wprime(*,*,indind), nlevels=30
84;lon = findgen(n_elements(wprime(*,0,0))) / 10.
85;lat = findgen(n_elements(wprime(0,*,0))) / 10.
86;nx = n_elements(wprime(*,0,0))
87;ny = n_elements(wprime(0,*,0))
88
89        ;;;
90        what_I_plot = reform(zevar(*,*,nt))
91        ;overvector_x = reform(zeu(0:nx-1,*,0,nt))     
92        ;overvector_y = reform(zev(*,0:ny-1,0,nt))
93        ;what_I_plot = reform(zew(*,*,0,nt))
94        ;what_I_plot = reform(zevar(*,*,nt)) - mean(reform(zevar(*,*,nt)))
95        ;;;
96
97;;;;
98;;;; DUPLIQUER LES DOMAINES
99;;;;
100
101;what_I_plot_period = fltarr(2*nx+1,2*ny+1)
102;what_I_plot_period(0:nx-1   ,0:ny-1   ) = what_I_plot(0:nx-1,0:ny-1)
103;what_I_plot_period(nx:2*nx-1,0:ny-1   ) = what_I_plot(0:nx-1,0:ny-1)
104;what_I_plot_period(0:nx-1   ,ny:2*ny-1) = what_I_plot(0:nx-1,0:ny-1)
105;what_I_plot_period(nx:2*nx-1,ny:2*ny-1) = what_I_plot(0:nx-1,0:ny-1)
106;what_I_plot_period(2*nx,*) = what_I_plot_period(0,*)
107;what_I_plot_period(*,2*ny) = what_I_plot_period(*,0)
108;what_I_plot = TEMPORARY(what_I_plot_period)
109
110;overvector_x_period = fltarr(2*nx+1,2*ny+1)
111;overvector_x_period(0:nx-1   ,0:ny-1   ) = overvector_x(0:nx-1,0:ny-1)
112;overvector_x_period(nx:2*nx-1,0:ny-1   ) = overvector_x(0:nx-1,0:ny-1)
113;overvector_x_period(0:nx-1   ,ny:2*ny-1) = overvector_x(0:nx-1,0:ny-1)
114;overvector_x_period(nx:2*nx-1,ny:2*ny-1) = overvector_x(0:nx-1,0:ny-1)
115;overvector_x_period(2*nx,*) = overvector_x_period(0,*)
116;overvector_x_period(*,2*ny) = overvector_x_period(*,0)
117;overvector_x = TEMPORARY(overvector_x_period)
118
119;overvector_y_period = fltarr(2*nx+1,2*ny+1)
120;overvector_y_period(0:nx-1   ,0:ny-1   ) = overvector_y(0:nx-1,0:ny-1)
121;overvector_y_period(nx:2*nx-1,0:ny-1   ) = overvector_y(0:nx-1,0:ny-1)
122;overvector_y_period(0:nx-1   ,ny:2*ny-1) = overvector_y(0:nx-1,0:ny-1)
123;overvector_y_period(nx:2*nx-1,ny:2*ny-1) = overvector_y(0:nx-1,0:ny-1)
124;overvector_y_period(2*nx,*) = overvector_y_period(0,*)
125;overvector_y_period(*,2*ny) = overvector_y_period(*,0)
126;overvector_y = TEMPORARY(overvector_y_period)
127
128
129print, 'plot !!!!'
130;
131;
132;
133        ;localtime_h = start_lt + 100*nt/3700  ;; division euclidienne
134        ;localtime_m = float(100*nt mod 3700)/3700.
135        ;localtime_m = 60.*localtime_m
136        ;title_user=string(localtime_h,'(I0)')+'h'+string(localtime_m,'(I0)')
137title_user='Surface pressure (Pa) / Local time = '+string(start_lt + freq_out*float(nt)/3700.,'(F6.3)')
138print, title_user
139;
140;
141;
142map_latlon, $
143        what_I_plot, $                          ; 2D field
144        lon, $                                  ; 1D latitude
145        lat, $                                  ; 1D longitude
146        minfield=minfield_init, $               ; minimum value of plotted field (=0: calculate)
147        maxfield=maxfield_init, $               ; maximum value of plotted field (=0: calculate)
148;        overcontour=overcontour, $              ; another 2D field to overplot with contour lines (=0: no)
149        overvector_x=overvector_x, $            ; wind vector - x component (=0: no)
150        overvector_y=overvector_y, $            ; wind vector - y component (=0: no)
151        ct=pal, $                               ; color table (33-rainbow is default)
152        colors=colors, $                        ; number of colors/levels (32 is default)
153        title=title_user, $                     ; title of the plot ('' is default)
154        format=format                           ; format of colorbar annotations ('(F6.2)' is default)
155;
156;
157;
158PS_End, /PNG
159alpha=alpha+1
160endfor
161end
Note: See TracBrowser for help on using the repository browser.