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_IceAge.pro in branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_IceAge.pro @ 4519

Last change on this file since 4519 was 4519, checked in by flavoni, 9 years ago

small changes in ice plots, see ticket #724

File size: 2.0 KB
Line 
1pro std_plot_IceAge, Iage1, Iage2, ARC = arc, ANT = ant, FEBR = febr, MARCH = march, SEPT = sept, 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
11  var = 'IceAge'
12  IF keyword_set(arc) THEN var = var+'_Arc_'
13  IF keyword_set(ant) THEN var = var+'_Ant_'
14  IF keyword_set(febr) THEN var = var+'Febr'
15  IF keyword_set(march) THEN var = var+'March'
16  IF keyword_set(sept) THEN var = var+'Sept'
17
18  filename = cdti3 + '_'+var+'_'+std_file1_I
19  IF std_file1_I NE std_file2_I then filename = filename + '_'+std_file2_I
20  IF KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1
21 
22  IF keyword_set(arc) THEN BEGIN
23    domdef, 20, 380, 50, 90
24    vmin = 0.
25    vmax = 7.
26    vint = 0.5
27    fmtd = '(f4.1)'
28    vmind = -3.
29    vmaxd = 3.
30    vintd = 0.5
31    fmtd = '(f4.1)'
32    div = 7
33    map = [90, 0, 0]
34  ENDIF
35  IF keyword_set(ant) THEN BEGIN
36    domdef, 20, 380, -90, -50
37    vmin = 0.
38    vmax = 2.
39    vint = 0.2
40    fmt = '(f4.1)'
41    vmind = -1.
42    vmaxd = 1.
43    vintd = 0.2
44    fmtd = '(f4.1)'
45    div = 5
46    map = [-90, 0, 0]
47  ENDIF
48;
49  varunit = Iage1.unit
50;
51  title = var+'!C'+std_file1_I
52  plt, Iage1.arr - 1.E-04, MIN = vmin, MAX = vmax, INTER = vint, /STRICTFILL, CELL_FILL = 2, format = fmt $
53       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, divisions = div  $
54       , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = map, /PORTRAIT, _extra = ex
55;                                ;
56  if std_file1_I NE std_file2_I then begin           
57    title = title + std_file2_I
58    plt, Iage1.arr - Iage2.arr, MIN = vmind, MAX = vmaxd, INTER = vintd, STYLE = 'so0so', format = fmtd $
59         , small = [1, 2, 2], COAST_THICK = 2, CELL_FILL = 2, TITLE = title  $
60         , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = map, /NOERASE, _extra = ex
61  endif                       
62 
63  domdef
64
65  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
66  if KEYWORD_SET(postscript) then closeps
67
68  return
69end
Note: See TracBrowser for help on using the repository browser.