New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
xxx_T_z105.pro in trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/xxx_T_z105.pro @ 2709

Last change on this file since 2709 was 2709, checked in by flavoni, 13 years ago

update idl scripts, see ticket 724

File size: 1.4 KB
RevLine 
[2709]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, '012_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/'+sEXP1+'_'+sEXP2+'/ps/012_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.