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

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

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

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

File size: 1.8 KB
Line 
1pro xxx_EXP2_S_ARC_z105, S1, S2, SLev, 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, '009_S_ARC_z105_'+sEXP1+'-'+sEXP2+'_y'+start_end+'.ps', portrait = 1
9 endif
10
11                                ;
12 domdef,20,380,60,90
13                                ;
14 if sEXP1 ne sEXP2 then begin
15
16    title=sEXP1+' - '+sEXP2+' Salinity 105 m / year '+start_end
17    plt, S1.arr-S2.arr, MIN = -2., MAX = 2., INTER = 0.2, CELL_FILL = 2,  STYLE = 'so0so'  $     
18         , small = [1,2,1], COAST_THICK = 2, TITLE = title, CHARSIZE = -0.55, GLINETHICK = 2. $     
19         , /ORTHO, MAP = [90,0,0], LATDEL = 5, boxzoom = [105., 106.], /NOERASE, _extra = ex
20   
21 endif else begin
22   
23    title='Levitus Salinity 105 m'
24    plt, SLev.arr, MIN = 33., MAX = 35., INTER = 0.25 , CELL_FILL = 2 $
25         , small = [1,2,1], COAST_THICK = 2, TITLE = title, CHARSIZE = -0.55, GLINETHICK = 2. $
26         , /ORTHO, MAP = [90,0,0], LATDEL = 5, boxzoom = [105., 106.], _extra = ex
27 endelse
28                                ;
29 title=sEXP2+' - Levitus Salinity 105 m / year '+start_end
30 plt, S2.arr-SLev.arr, MIN = -2., MAX = 2., INTER = 0.2, CELL_FILL = 2,  STYLE = 'so0so'  $     
31      , small = [1,2,2], COAST_THICK = 2, TITLE = title, CHARSIZE = -0.55, GLINETHICK = 2. $     
32      , /ORTHO, MAP = [90,0,0], LATDEL = 5, boxzoom = [105., 106.], /NOERASE, _extra = ex
33                                ;
34 domdef
35;
36 title = 'Artic salinity at 105 meters'
37 text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/v32colib_v32colib/ps/009_S_ARC_z105_'+sEXP1+'-'+sEXP2+'_y'+start_end+'.png  />  ' ]
38 putfile, '/tmp/prova.txt', text
39
40
41 if KEYWORD_SET(POSTSCRIPT) then begin
42    closeps
43 endif
44
45 
46 return
47end
Note: See TracBrowser for help on using the repository browser.