source: trunk/mesoscale/PLOT/SPEC/GW/gravitwave2.pro @ 117

Last change on this file since 117 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: 4.0 KB
Line 
1pro gravitwave2
2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4        ;;;; KEEP REFERENCES of FIRST PLOTS
5        ;file='../EN_COURS/gw/ok_hires_wrfout_d01_9999-09-09_09:00:00_z'
6        ;file='../EN_COURS/gw/_wrfout_d01_9999-09-09_09:00:00_z'
7        ;file='../LMD_MM_MARS/TESTGW/_wrfout_d01_9999-09-09_09:00:00_z'
8        ;;file='../LMD_MM_MARS/TESTGW/wind15_wrfout_d01_9999-09-09_09:00:00_z'
9        ;file='../TESTGW/wind20c_wrfout_d01_9999-09-09_09:00:00_z'
10folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_3D.157077/'
11folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_narrowmountain_2D.156878/'
12;folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_narrowmountain_3D.157025/'
13folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_narrowmountain_2D.morepoints.160818/'
14folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_LT15.161544/'
15folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_LTcst.168440/'
16folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_widehill.168468/'
17file=folder+'wrfout_d01_9999-09-09_09:00:00_z'
18charvar='W' & charvarc='W'
19charvar='tk' & charvarc='W'
20;charvar='tk' & charvarc='W' & cond=1
21charvar='tk' & charvarc='tk' & cond=1
22;;charvar='tpot' & charvarc='tpot'
23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
25;
26;
27;
28what_I_plot=0. & overcontour=0.
29SPAWN, '\rm param_plot.idl ; cp gravitwave_inc.pro param_plot.idl'
30;
31;
32;
33getcdf, $
34        file=file, $
35        charvar=charvar, $
36        invar=invar
37getcdf, $
38        file=file, $
39        charvar=charvarc, $
40        invar=invarc
41getcdf, $
42        file=file, $
43        charvar='vert', $
44        invar=vert
45getcdf, $
46        file=file, $
47        charvar='PTOT', $
48        invar=columnp
49;
50;
51;
52;for nt=4,10 do begin
53;for nt=27,27 do begin
54for nt=1,40 do begin
55zefile='gravitwave_'+charvar+'_'+charvarc+'_'+string(nt+100,'(I0)')
56if (n_elements(cond) ne 0) then zefile = 'cond_' + zefile
57;
58;
59;
60  PS_Start, filename=zefile+'.ps'
61  print, zefile+'.ps'
62  !P.Charsize = 1.2
63  !p.charthick = 2.0
64  !p.thick = 2.0
65  !x.thick = 2.0
66  !y.thick = 2.0
67;
68;
69;
70s = size(invar) & middle = floor(s[2]/2) & print, 'PLOT at y subs ', middle
71what_I_plot = reform(invar(*,middle,*,nt))
72overcontour = reform(invarc(*,middle,*,nt))
73   if (n_elements(cond) ne 0) then begin
74     column = columnp
75     ;column = reform(columnp(*,1,*,1))
76     @tempcond.inc
77     yeye = reform(overplot(*,middle,*,nt))
78     w = where(yeye le 0.) & yeye[w] = 0.
79     if (charvar eq 'tk') then what_I_plot = what_I_plot - yeye
80     if (charvarc eq 'tk') then overcontour = overcontour - yeye
81   endif
82xx = findgen(n_elements(what_I_plot(*,0)))
83zz = vert / 1000.
84
85        ;w = where(what_I_plot lt 0.)
86        w = where(what_I_plot lt -1.)
87        ;w = where(what_I_plot lt -3.)
88        if (w(0) ne -1) then begin
89        for i=0,n_elements(w)-1 do begin
90         ind = ARRAY_INDICES(what_I_plot, w(i))
91         print, 'x '+string(ind(0),'(I0)')+' z '+string(zz(ind(1)),'(I0)')+' t '+string(nt*925./3700.,'(F4.1)'), what_I_plot(ind[0],ind[1])
92        endfor
93        endif
94;
95;
96;
97map_latlon, $
98        what_I_plot, $                          ; 2D field
99        xx, $                                   ; 1D latitude
100        zz, $                                   ; 1D longitude
101;        minfield=minfield_init, $               ; minimum value of plotted field (=0: calculate)
102;        maxfield=maxfield_init, $               ; maximum value of plotted field (=0: calculate)
103        overcontour=overcontour, $              ; another 2D field to overplot with contour lines (=0: no)
104;        overvector_x=overvector_x, $            ; wind vector - x component (=0: no)
105;        overvector_y=overvector_y, $            ; wind vector - y component (=0: no)
106;        ct=pal, $                               ; color table (33-rainbow is default)
107;        colors=colors, $                        ; number of colors/levels (32 is default)
108;        title=title_user, $                     ; title of the plot ('' is default)
109        format=format                           ; format of colorbar annotations ('(F6.2)' is default)
110;
111;
112;
113PS_End, /PNG
114SPAWN, 'mv '+zefile+'.png '+folder+' ; \rm '+zefile+'.*ps*'
115endfor
116end
Note: See TracBrowser for help on using the repository browser.