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_sst.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_sst.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_sst, T1, T2, TRey, 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 + '_SST_'+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  if std_file1_T EQ std_file2_T then begin
15    T = T1.arr[*, *, 0]
16    min = -2.
17    max = 32.
18    inter = 1.
19    STYLE = 0
20    title = 'SST!C'+std_file1_T
21  ENDIF ELSE BEGIN
22    T = T1.arr[*, *, 0] - T2.arr[*, *, 0]
23    min =  -1.
24    max = -min
25    inter = 0.1
26    STYLE = 'so0so'
27    title = 'SST!C'+std_file1_T+' - '+std_file2_T
28  ENDELSE
29;
30  varunit = T1.unit
31;
32  plt, T, MIN = min, MAX = max, INTER = inter, STYLE = STYLE $
33       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, FORMAT = '(I2)', /PORTRAIT, _extra = ex
34;
35  title = 'SST!C'+std_file1_T+' - NewReynolds'
36  plt, T1.arr[*, *, 0] - TRey.arr, MIN = -8., MAX = 8., INTER = 0.5, STYLE = 'so0so', FORMAT = '(I2)' $
37       , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, /NOERASE, _extra = ex
38 
39  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
40  if KEYWORD_SET(postscript) then closeps
41
42  return
43end
Note: See TracBrowser for help on using the repository browser.