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_TS_ZGlobm.pro in trunk/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

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

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

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

File size: 1.5 KB
RevLine 
[2150]1pro xxx_TS_ZGlobm, T1, T2, TLev, S1, S2, SLev, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex
2
3 @common
4 compile_opt idl2, strictarrsubs
5
6 if KEYWORD_SET(POSTSCRIPT) then begin
7    openps, '025_TS_ZGlobmean_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.ps', /portrait
8 endif
9
10                                ;
11 title=sEXP1+' (Black) & '+sEXP2+' (Red) - Levitus Temp. Global mean / year '+start_end
12 plt1d, T1.arr - TLev.arr, typein = 'z', ticklen = 1 , MIN = -2., MAX = 2., boxzoom = [4.,5300.], /KEEPBOTTOM $
13        , small = [1,2,1], XGRIDSTYLE = 2, YGRIDSTYLE = 2, TITLE = title, _extra = ex
14 plt1d, T2.arr - TLev.arr, typein = 'z',  ticklen = 1 , MIN = -2., MAX = 2., boxzoom = [4.,5300.], /KEEPBOTTOM  $
15        , /ov1d, COLOR = 250,TITLE = title, _extra = ex
16                                ;
17
18 title=sEXP1+'(Black) & '+sEXP2+' (Red) - Levitus Sal. Global mean / year '+start_end
19 plt1d, S1.arr - SLev.arr, typein = 'z', ticklen = 1 , MIN = -.2, MAX = .2, boxzoom = [4.,5300.], /KEEPBOTTOM $
20        , small = [1,2,2], XGRIDSTYLE = 2, YGRIDSTYLE = 2, TITLE = title, /NOERASE, _extra = ex
21 plt1d, S2.arr - SLev.arr, typein = 'z',  ticklen = 1 , MIN = -2., MAX = 2., boxzoom = [4.,5300.], /KEEPBOTTOM $
22        ,  /ov1d, COLOR = 250, TITLE = title, _extra = ex
23
24
25 title = 'Temperature & Salinity horizontal mean'
26 text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/v32colib_v32colib/ps/025_TS_ZGlobmean_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.png  />  ' ]
27 putfile, '/tmp/prova.txt', text
28
29
30 if KEYWORD_SET(POSTSCRIPT) then begin
31    closeps
32 endif
33
34 return
35end
36
Note: See TracBrowser for help on using the repository browser.