source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_GlobMeanTS.pro @ 4320

Last change on this file since 4320 was 4320, checked in by flavoni, 7 years ago

update IDL_scripts for ORCA2_LIM and ORCA2_LIM3, add plot of max_mld output 5days, see ticket: #724

File size: 1.8 KB
RevLine 
[2751]1pro std_plot_GlobMeanTS, T1, T2, TLev, S1, S2, SLev, sEXP1, sEXP2, POSTSCRIPT = postscript, _extra = ex
[2709]2
[2751]3  compile_opt idl2, strictarrsubs
[2709]4
[2751]5@common 
6@std_common
[2709]7
[2751]8  cdti3 = string(cnt, format = '(i3.3)')
9  print, cdti3 + ') ' + blabla
10  filename = cdti3 + '_GlobMeanTS_'+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
[2709]13
[2751]14  varunit = T1.unit
15  title = 'Temperature Global mean!C'+std_file1_T+' - Levitus (Black)'
16  if std_file1_T NE std_file2_T THEN title = title+'!C'+std_file2_T+' - Levitus (Red)'
17  plt1d, T1.arr - TLev.arr, typein = 'z', ticklen = 1, MIN = -2., MAX = 2., boxzoom = [4., 5300.], /KEEPBOTTOM $
18         , small = [1, 2, 1], XGRIDSTYLE = 2, YGRIDSTYLE = 2, TITLE = title, /PORTRAIT,  _extra = ex
19  if std_file1_T NE std_file2_T then begin
20    plt1d, T2.arr - TLev.arr, typein = 'z',  ticklen = 1, MIN = -2., MAX = 2., boxzoom = [4., 5300.], /KEEPBOTTOM  $
21           , /ov1d, COLOR = 250, TITLE = title, _extra = ex
22  endif
23;
24  varunit = S1.unit
25  title = 'Salinity Global mean!C'+std_file1_T+' - Levitus (Black)'
26  if std_file1_T NE std_file2_T THEN title = title+'!C'+std_file2_T+' - Levitus (Red)'
[4320]27  plt1d, S1.arr - SLev.arr, typein = 'z', ticklen = 1, MIN = -.2, MAX = .4, boxzoom = [4., 5300.], /KEEPBOTTOM $
[2751]28         , small = [1, 2, 2], XGRIDSTYLE = 2, YGRIDSTYLE = 2, TITLE = title, /NOERASE, _extra = ex
29  if std_file1_T NE std_file2_T then begin
[4320]30    plt1d, S2.arr - SLev.arr, typein = 'z',  ticklen = 1, MIN = -2., MAX = 4., boxzoom = [4., 5300.], /KEEPBOTTOM $
[2751]31           ,  /ov1d, COLOR = 250, TITLE = title, _extra = ex
32  endif
[2709]33
[2751]34  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
35  if KEYWORD_SET(postscript) then closeps
[2709]36
[2751]37  return
[2709]38end
39
Note: See TracBrowser for help on using the repository browser.