[3331] | 1 | pro std_plot_GlobMeanTS, T1, T2, TLev, S1, S2, SLev, sEXP1, sEXP2, 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 + '_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 |
---|
| 13 | |
---|
| 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)' |
---|
| 27 | plt1d, S1.arr - SLev.arr, typein = 'z', ticklen = 1, MIN = -.2, MAX = .2, boxzoom = [4., 5300.], /KEEPBOTTOM $ |
---|
| 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 |
---|
| 30 | plt1d, S2.arr - SLev.arr, typein = 'z', ticklen = 1, MIN = -2., MAX = 2., boxzoom = [4., 5300.], /KEEPBOTTOM $ |
---|
| 31 | , /ov1d, COLOR = 250, TITLE = title, _extra = ex |
---|
| 32 | endif |
---|
| 33 | |
---|
| 34 | htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png /> ' ] |
---|
| 35 | if KEYWORD_SET(postscript) then closeps |
---|
| 36 | |
---|
| 37 | return |
---|
| 38 | end |
---|
| 39 | |
---|