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_ZonMld.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_ZonMld.pro

    r2733 r2751  
    1 pro xxx_ZonMxl, MXL1, MXL2, MLD, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex 
    2    
    3  @common 
     1pro std_plot_ZonMld, MLD1, MLD2, MLD, POSTSCRIPT = postscript, _extra = ex 
    42 
    5  compile_opt idl2, strictarrsubs 
     3  compile_opt idl2, strictarrsubs 
    64 
    7   
    8  if KEYWORD_SET(POSTSCRIPT) then begin 
    9     openps, '015_ZonMxl_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.ps', portrait = 1 
    10  endif 
    11   
     5@common   
     6@std_common 
    127 
     8  cdti3 = string(cnt, format = '(i3.3)') 
     9  print, cdti3 + ') ' + blabla 
     10  filename = cdti3 + '_ZonMld_'+std_file1_T 
     11  if std_file1_T NE std_file2_T then filename = filename + '_'+std_file2_T 
     12  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1 
    1313                                ; 
    14  title=sEXP1+' (Black) , '+sEXP2+' (Red) & Clim (Blue) Mxl10 / year '+start_end 
    15  plt1d, -MXL1.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
    16         , small=[1,1,1], boxzoom=5500, ZOOM=500, CHARSIZE=.8, TITLE = title, /PORTRAIT, _extra=ex  ; color by default = black 
     14  title = std_file1_T+' (Black)!C' 
     15  if std_file1_T NE std_file2_T THEN title = title + std_file2_T+' (Red)!C' 
     16  title = title + 'DeBoyer (Blue)!C' 
     17 
     18  plt1d, -MLD1.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
     19         , small = [1, 1, 1], boxzoom = 5500, ZOOM = 500, CHARSIZE = .8, TITLE = title, /PORTRAIT, _extra = ex  
    1720                                ; 
    18  plt1d, -MXL2.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
    19         , /ov1d, COLOR = 250, TITLE = title, /NOERASE, _extra = ex  ; color 250 = red 
     21  IF std_file1_T NE std_file2_T THEN $ 
     22     plt1d, -MLD2.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
     23            , /ov1d, COLOR = 250, TITLE = title, /NOERASE, _extra = ex ; color 250 = red 
    2024                                ; 
    21  plt1d, -MLD.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
    22         ,  /ov1d, COLOR = 100, THICK = 3, TITLE = title, /NOERASE, _extra = ex ; color 100 = blue 
     25  plt1d, -MLD.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 
     26         ,  /ov1d, COLOR = 100, THICK = 3, TITLE = title, /NOERASE, _extra = ex ; color 100 = blue 
    2327 
    24  title = 'Mxl field' 
    25  text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/'+sEXP1+'_'+sEXP2+'/ps/015_ZonMxl_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.png  />  ' ] 
    26  putfile, '/tmp/prova.txt', text 
     28  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ] 
     29  if KEYWORD_SET(postscript) then closeps 
    2730 
    28  
    29  if KEYWORD_SET(POSTSCRIPT) then begin 
    30     closeps 
    31  endif 
    32  
    33  return 
     31  return 
    3432end 
Note: See TracChangeset for help on using the changeset viewer.