Ignore:
Timestamp:
Apr 22, 2011, 8:14:18 PM (14 years ago)
Author:
aslmd
Message:

LMD_MM_MARS: update graphic tools for GW, water cycle + generic graphic stuff (ps_start, map_latlon) + update notes

Location:
trunk/mesoscale/PLOT/SPEC/SERIES
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mesoscale/PLOT/SPEC/SERIES/mawd.pro

    r112 r114  
    22
    33;;;;;;;
    4 ;f_user='/donnees/aslmd/SVN/trunk/mesoscale/TMPDIR/GCMINI/mawd.nc'
    5 ;f_user='/tmp7/aslmd/mawd.nc'
    6 f_user='/d5/aslmd/mawd.nc'
     4experiment='a035'
     5;experiment='a040'
     6;experiment='a045'
     7;;f_user='/donnees/aslmd/SVN/trunk/mesoscale/TMPDIR/GCMINI/mawd.nc'
     8;;f_user='/tmp7/aslmd/mawd.nc'
     9f_user='/d5/aslmd/WATERCYCLE/mawd_'+experiment+'.nc'
    710v_user = 'mtot'
    811x_user = 'Time'
     
    2629SPAWN, '\rm param_plot.idl ; cp mawd_inc.pro param_plot.idl'
    2730
    28 PS_START, file='mawd.ps'
    29   !P.Charsize = 1.2
    30   !p.charthick = 2.0
    31   !p.thick = 2.0
    32   !x.thick = 2.0
    33   !y.thick = 2.0
     31PS_START, file='mawd_'+experiment+'.ps'
     32;  !P.Charsize = 1.2
     33;  !p.charthick = 2.0
     34;  !p.thick = 2.0
     35;  !x.thick = 2.0
     36;  !y.thick = 2.0
    3437
    3538cdfid = ncdf_open(f_user)
     
    4144ncdf_varget, cdfid, varid, yy
    4245
     46varid=ncdf_varid(cdfid,x_user)
     47ncdf_varget, cdfid, varid, xx
     48
    4349if (tes eq 'no') then begin
    4450  ;;; en precip-microns
    4551  champ = champ * 1.e6 / 917.
    46   ;;; prendre Time depuis un autre fichier
    47   cdfid = ncdf_open('/d5/aslmd/gcm_LT14_a035.nc')
    48   varid=ncdf_varid(cdfid,x_user)
    49   ncdf_varget, cdfid, varid, xx
    5052  ;;;; entre 0 et 360
    5153  ;xx = xx MOD 360
     54  xx = xx - 360.*3.
    5255endif else begin
    53   varid=ncdf_varid(cdfid,x_user)
    54   ncdf_varget, cdfid, varid, xx
    5556  xx = xx - 360.*2.
    5657endelse
     
    7677endif
    7778
     79what_I_plot = smooth(what_I_plot,[10,1])
     80
    7881map_latlon, $
    7982        what_I_plot, $                          ; 2D field
  • trunk/mesoscale/PLOT/SPEC/SERIES/mawd_inc.pro

    r112 r114  
    88        format          =       '(I0)'
    99        colors          =       32
    10         pal             =       22;4;33              ;; GOOD: 4, 18, 22, 16, 37, 33, 39, 6, 11
     10        pal             =       33;22;4;33              ;; GOOD: 4, 18, 22, 16, 37, 33, 39, 6, 11
    1111
    1212;;;;;*************************************** FILL LIMITS
    1313        minfield_init   =       0.
    14         maxfield_init   =       65.
    15         ndiv            =       13
     14        maxfield_init   =       100. ;120. ;65.
     15        ndiv            =       10 ;12 ;13
    1616
    1717        ;;;;;*************************************** LIMIT TRICKS
     
    2020                lim_max = maxfield_init & w=where((what_I_plot ge lim_max) and (what_I_plot le 1e9)) & if (w[0] ne -1) then what_I_plot[w]=lim_max
    2121                lim_min = minfield_init & w=where(what_I_plot le lim_min) & if (w[0] ne -1) then what_I_plot[w]=lim_min
    22                 ;lim_blank = 0.1 & w=where(abs(what_I_plot) le lim_blank) & if (w[0] ne -1) then what_I_plot[w]=missing_value
     22                lim_blank = 1.0 & w=where(abs(what_I_plot) le lim_blank) & if (w[0] ne -1) then what_I_plot[w]=missing_value
    2323
    2424;;;;;*************************************** CONTOUR
     
    3838;;;;; MULTIYEAR
    3939        isotropic       =       'false'
    40         windowx         =       [1500.,4000.]
    41         intervalx       =       500.0
     40        windowx         =       [0.,2880.] ;[0.,3600.] ;[1500.,4000.]
     41        intervalx       =       360.0
    4242        windowy         =       [-90.,90.]
    4343        intervaly       =       30.0
    44         lev             =       [100.]
     44        lev             =       [600.] ;[100.]
Note: See TracChangeset for help on using the changeset viewer.