source: trunk/CONFIG/ORCA2_LIM/IDL_scripts/xxx_T_z105.pro @ 2150

Last change on this file since 2150 was 2150, checked in by flavoni, 10 years ago

commit idl tools for post-processing, for ORCA2_LIM configuration, see ticket #724

File size: 1.4 KB
Line 
1pro xxx_T_z105,  T1, T2, TLev, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex
2 
3 @common
4 compile_opt idl2, strictarrsubs
5
6 
7 if KEYWORD_SET(POSTSCRIPT) then begin
8    openps, '010_T_z105_'+sEXP1+'-'+sEXP2+'_y'+start_end+'.ps', portrait = 1
9 endif
10;
11 varunit = T1.unit     
12           ;                             
13 title = sEXP1+' T (°C) depth=105m / Temp year '+start_end
14 plt, T1.arr, MIN = -2., MAX = 32., INTER = 1., STYLE = 'so0so'  $
15      , small = [1,2,1], COAST_THICK = 2, TITLE = title, FORMAT = '(I2)', boxzoom = [105., 106.], /NOERASE, _extra = ex
16                                ;
17if sEXP1 ne sEXP2 then begin
18
19  title = sEXP1+' - '+sEXP2+' T (°C) depth=105m / Temp year '+start_end
20  plt, T1.arr-T2.arr, MIN = -2., MAX = 2., INTER = .2 $
21       , small = [1,2,2], COAST_THICK = 2, TITLE = title,  _extra=ex
22
23endif else begin
24
25 title = sEXP1+' - Levitus T (°C) depth=105m / Temp year '+start_end
26 plt, T1.arr-TLev.arr, MIN = -4., MAX = 4., INTER = .5, STYLE = 'so0so'  $
27      , small = [1,2,2], COAST_THICK = 2, TITLE = title, boxzoom = [105., 106.], /PORTRAIT, _extra = ex   
28endelse
29                   
30
31 title = 'Temperature differences at z=105 m with Levitus and '+sEXP1+'-'+sEXP2
32 text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/v32colib_v32colib/ps/010_T_z105_'+sEXP1+'-'+sEXP2+'_y'+start_end+'.png  />  ' ]
33 putfile, '/tmp/prova.txt', text ;
34
35
36 if KEYWORD_SET(POSTSCRIPT) then begin
37    closeps
38 endif
39 
40 return
41end
Note: See TracBrowser for help on using the repository browser.