source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_IceFrac.pro @ 4320

Last change on this file since 4320 was 4320, checked in by flavoni, 7 years ago

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

File size: 2.1 KB
RevLine 
[2751]1pro std_plot_IceFrac, Ifra1, Ifra2, ARC = arc, ANT = ant, 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 = 'IceFra'
12  IF keyword_set(arc) THEN var = var+'_Arc_'
13  IF keyword_set(ant) THEN var = var+'_Ant_'
14  IF keyword_set(march) THEN var = var+'March'
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    map = [90, 0, 0]
24  ENDIF
25  IF keyword_set(ant) THEN BEGIN
26    domdef, 20, 380, -90, -50
27    map = [-90, 0, 0]
28  ENDIF
29;
30  varunit = Ifra1.unit
31;
32  title = var+'!C'+std_file1_I
33  plt, (Ifra1.arr < 1. ) - 1.E-04, MIN = 0., MAX = 1., INTER = .1, /STRICTFILL, CELL_FILL = 2, format = '(f4.1)' $
34       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title $
35       , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = map, /PORTRAIT, _extra = ex
36;                                ;
37  if std_file1_I NE std_file2_I then begin           
38    title = title + std_file2_I
39    plt, Ifra1.arr - Ifra2.arr, MIN = -1, MAX = 1, INTER = .1, STYLE = 'so0so', format = '(f4.1)' $
40         , small = [1, 2, 2], COAST_THICK = 2, CELL_FILL = 2, TITLE = title $
41         , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = map, /NOERASE, _extra = ex
[4320]42;;SF  finire, aggiungere lettura obs
43;;SF  endif else begin
44;;SF    title = title+ ' - Observations'
45;;SF    plt, Ifra1.arr - Ifra_obs.arr, MIN = -1., MAX = 1., INTER = 0.1, STYLE = 'so0so', format = '(f4.1)' $
46;;SF         , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, CELL_FILL = 2, TITLE = title $
47;;SF         , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = map, /NOERASE, _extra = ex
48;;SF  endelse 
49endif
50
[2751]51  domdef
52
53  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
54  if KEYWORD_SET(postscript) then closeps
55
56  return
57end
Note: See TracBrowser for help on using the repository browser.