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.
std_plot_EqT.pro in branches/UKMO/dev_r5107_restart_func_and_date/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/UKMO/dev_r5107_restart_func_and_date/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_EqT.pro @ 5500

Last change on this file since 5500 was 5500, checked in by dancopsey, 9 years ago

Removed SVN keywords.

File size: 1.3 KB
Line 
1pro std_plot_EqT, T1, T2, TLev, 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 + '_EqT_'+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  title = 'Equatorial Temperature!C'+std_file1_T
15  pltz, T1, MININ = 2., MAXIN = 30., INTER = 1., typein = 'xz', FORMAT = '(I2)'  $
16        , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], /PORTRAIT, _extra = ex
17 
18  if std_file1_T EQ std_file2_T then begin
19    T = T1.arr - TLev.arr
20    title = title+' - Levitus'
21    min = -4.
22    max = -min
23    inter = .5
24    fmt = '(I2)'
25  ENDIF ELSE BEGIN
26    T = T1.arr - T2.arr
27    title = title+' - '+std_file2_T
28    min =  -2.
29    max = -min
30    inter = .25
31    fmt = '(f4.1)'
32  ENDELSE
33 
34  pltz, T, MININ = min, MAXIN = max, INTER = inter, typein = 'xz', STYLE = 'so0so', FORMAT = fmt $
35        , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], /NOERASE, _extra = ex
36                                ;
37  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
38  if KEYWORD_SET(postscript) then closeps
39
40  return
41end
42
Note: See TracBrowser for help on using the repository browser.