[2751] | 1 | pro std_plot_T100m, T1, T2, TLev, 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 | tmp = min(abs(100 - gdept), ind) |
---|
| 11 | sdepref = strtrim(round(gdept[ind]), 1)+'m' |
---|
| 12 | filename = cdti3 + '_T'+sdepref+'_'+std_file1_T |
---|
| 13 | if std_file1_T NE std_file2_T then filename = filename + '_'+std_file2_T |
---|
| 14 | if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1 |
---|
| 15 | ; |
---|
| 16 | title = 'Temperature ('+sdepref+')!C'+std_file1_T |
---|
| 17 | plt, T1, MIN = -2., MAX = 32., INTER = 1., FORMAT = '(I2)' $ |
---|
[2760] | 18 | , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /portrait, _extra = ex |
---|
[2751] | 19 | ; |
---|
| 20 | IF std_file1_T NE std_file2_T THEN BEGIN |
---|
| 21 | title = title+ ' - '+std_file2_T |
---|
| 22 | plt, T1.arr - T2.arr, MIN = -2., MAX = 2., INTER = .2, STYLE = 'so0so', FORMAT = '(f4.1)' $ |
---|
[2760] | 23 | , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /noerase, _extra = ex |
---|
[2751] | 24 | ENDIF ELSE BEGIN |
---|
| 25 | title = title+ ' - Levitus' |
---|
[2760] | 26 | plt, T1.arr - TLev.arr, MIN = -5., MAX = 5., INTER = .5, STYLE = 'so0so', FORMAT = '(I2)' $ |
---|
| 27 | , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /noerase, _extra = ex |
---|
[2751] | 28 | ENDELSE |
---|
| 29 | ; |
---|
| 30 | htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png /> ' ] |
---|
| 31 | if KEYWORD_SET(postscript) then closeps |
---|
[2709] | 32 | |
---|
[2751] | 33 | return |
---|
[2709] | 34 | end |
---|