Changeset 131 for trunk/mesoscale/PLOT/SPEC/GW/gravitwave2.pro
- Timestamp:
- May 25, 2011, 4:19:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/PLOT/SPEC/GW/gravitwave2.pro
r117 r131 13 13 folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_narrowmountain_2D.morepoints.160818/' 14 14 folder='/d5/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_LT15.161544/' 15 folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_LTcst.168440/' 16 folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_widehill.168468/' 15 folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints.161542/' 16 ;folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_LTcst.168440/' 17 ;folder='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D_loweropacity_morepoints_widehill.168468/' 17 18 file=folder+'wrfout_d01_9999-09-09_09:00:00_z' 18 19 charvar='W' & charvarc='W' 19 charvar='tk' & charvarc='W' 20 charvar='W' & charvarc='tk' & cond=0 21 ;charvar='tk' & charvarc='W' 20 22 ;charvar='tk' & charvarc='W' & cond=1 21 charvar='tk' & charvarc='tk' & cond=1 23 ;charvar='tk' & charvarc='tk' & cond=1 24 ;charvar='tk' & charvarc='tk' & cond=0 22 25 ;;charvar='tpot' & charvarc='tpot' 23 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 24 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 26 charvar='HR_NLTE' & charvarc='tk' & cond=0 27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 28 ;folder='/home/aslmd/GRAVITWAVE/' 29 ;file=folder+'GW_MARS_highwind_3D_loweropacity_morepoints_diff.nc' 30 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 25 31 ; 26 32 ; … … 39 45 charvar=charvarc, $ 40 46 invar=invarc 47 ;getcdf, $ 48 ; file=file, $ 49 ; charvar='vert', $ 50 ; invar=vert 41 51 getcdf, $ 42 file=file, $43 charvar='vert', $44 invar=vert52 file='/home/aslmd/GRAVITWAVE/GW_MARS_highwind_3D.157077/wrfout_d01_9999-09-09_09:00:00_z', $ 53 charvar='vert', $ 54 invar=vert 45 55 getcdf, $ 46 56 file=file, $ … … 53 63 ;for nt=27,27 do begin 54 64 for nt=1,40 do begin 65 ;for nt=9,9 do begin 66 ;for nt=0,20 do begin 55 67 zefile='gravitwave_'+charvar+'_'+charvarc+'_'+string(nt+100,'(I0)') 56 if (n_elements(cond) ne 0) then zefile = 'cond_' + zefile68 if (n_elements(cond) ne 0) then if (cond ne 0) then zefile = 'cond_' + zefile 57 69 ; 58 70 ; 59 71 ; 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 72 PS_Start, filename=zefile+'.ps' & print, zefile+'.ps' 67 73 ; 68 74 ; 69 75 ; 70 76 s = size(invar) & middle = floor(s[2]/2) & print, 'PLOT at y subs ', middle 71 what_I_plot = reform(invar(*,middle,*,nt)) 77 what_I_plot = reform(invar(*,middle,*,nt)) & print, min(what_I_plot), max(what_I_plot) 72 78 overcontour = reform(invarc(*,middle,*,nt)) 73 79 if (n_elements(cond) ne 0) then begin 80 if (cond ne 0) then begin 74 81 column = columnp 75 82 ;column = reform(columnp(*,1,*,1)) … … 80 87 if (charvarc eq 'tk') then overcontour = overcontour - yeye 81 88 endif 89 endif 82 90 xx = findgen(n_elements(what_I_plot(*,0))) 83 91 zz = 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 92 ; 93 ;;w = where(what_I_plot lt 2.) 94 ;;w = where(what_I_plot lt 0.) 95 ;w = where(what_I_plot lt -1.) 96 ;;w = where(what_I_plot lt -3.) 97 ;if (w(0) ne -1) then begin 98 ;for i=0,n_elements(w)-1 do begin 99 ; ind = ARRAY_INDICES(what_I_plot, w(i)) 100 ; 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]) 101 ;endfor 102 ;endif 103 ; 104 ; 105 ; 106 if (charvar eq 'HR_NLTE') then begin 107 what_I_plot = what_I_plot * 3700. ;; en K/hour 108 ;w = where((zz le 60.) and (zz ge 50.)) ;; pour enlever la ligne d'altitude ou le NLTE est active 109 ;if (w(0) ne -1) then what_I_plot(*,w) = 0. 110 endif 94 111 ; 95 112 ; … … 99 116 xx, $ ; 1D latitude 100 117 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)118 ; minfield_init, $ ; minimum value of plotted field (=0: calculate) 119 ; maxfield_init, $ ; maximum value of plotted field (=0: calculate) 103 120 overcontour=overcontour, $ ; another 2D field to overplot with contour lines (=0: no) 104 121 ; overvector_x=overvector_x, $ ; wind vector - x component (=0: no)
Note: See TracChangeset
for help on using the changeset viewer.