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

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

update idl scripts, see ticket 724

File size: 1.3 KB
Line 
1pro xxx_Eq_U, U1, U2, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex
2 
3  compile_opt idl2, strictarrsubs
4 
5  if KEYWORD_SET(POSTSCRIPT) then begin
6     openps, '027_Eq_U_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.ps', portrait = 1
7  endif
8                                ;
9  title = sEXP1+' Equatorial U_zonal / year '+start_end
10  pltz, U1, MININ = -1., MAXIN = 1., INTER = .1, typein = 'xz', STYLE = 'so0so', UNIT = varunit $
11        , small = [1,2,1], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], ZOOM = 500, /PORTRAIT, _extra = ex
12
13  if sEXP1 ne sEXP2 then begin
14                                ;
15     title = sEXP1+' - '+sEXP2+' U_zonal / year '+start_end
16     pltz, U1.arr-U2.arr, MININ = -.5, MAXIN = .5, INTER = .1, typein = 'xz', STYLE = 'so0so', UNIT = varunit $
17           , small = [1,2,2], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], ZOOM = 500, /PORTRAIT, _extra = ex
18                                ;
19  endif
20 
21  title ='Equatorial differences with Levitus and '+sEXP2+'of zonal velocity U'
22  text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/'+sEXP1+'_'+sEXP2+'/ps/027_Eq_U_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.png  />  ' ]
23  putfile, '/tmp/prova.txt', text
24 
25  if KEYWORD_SET(POSTSCRIPT) then begin
26     closeps
27  endif
28
29  return
30end
Note: See TracBrowser for help on using the repository browser.