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.
Changeset 2751 for trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_EqU.pro – NEMO

Ignore:
Timestamp:
2011-04-26T10:45:52+02:00 (13 years ago)
Author:
smasson
Message:

large update of IDL_scripts for Is-ENES

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_EqU.pro

    r2735 r2751  
    1 pro xxx_Eq_U, U1, U2, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex 
     1pro std_plot_EqU, U1, U2, POSTSCRIPT = postscript, _extra = ex 
     2 
     3  compile_opt idl2, strictarrsubs 
     4 
     5@common   
     6@std_common 
     7 
     8  cdti3 = string(cnt, format = '(i3.3)') 
     9  print, cdti3 + ') ' + blabla 
     10  filename = cdti3 + '_EqU_'+std_file1_U 
     11  if std_file1_U NE std_file2_U then filename = filename + '_'+std_file2_U 
     12  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1 
    213   
    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 
     14  title = 'Equatorial Zonal Current!C'+std_file1_U 
     15  pltz, U1, MININ = -1., MAXIN = 1., INTER = .1, typein = 'xz', STYLE = 'so0so', FORMAT = '(f4.1)' $ 
     16        , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], ZOOM = 500, /PORTRAIT, _extra = ex 
    1217 
    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                                 ; 
     18  if std_file1_U NE std_file2_U then begin 
     19    title = title+' - '+std_file2_U 
     20    pltz, U1.arr-U2.arr, MININ = -.5, MAXIN = .5, INTER = .1, typein = 'xz', STYLE = 'so0so', FORMAT = '(f4.1)' $ 
     21          , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], ZOOM = 500, /PORTRAIT, _extra = ex 
    1922  endif 
    2023   
    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 
     24  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ] 
     25  if KEYWORD_SET(postscript) then closeps 
    2826 
    2927  return 
Note: See TracChangeset for help on using the changeset viewer.