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

source: branches/2013/dev_r3918_CNRS_idl_plots/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_IceThick.pro @ 4184

Last change on this file since 4184 was 4184, checked in by flavoni, 10 years ago

update IDL_scripts for ORCA2_LIM and ORCA2_LIM3, add plot of max_mld output 5days, see ticket: #724

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