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_IceSal.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_IceSal.pro @ 4507

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

commit ICE Salinity plots for ORCA2_LIM, see ticket #724

File size: 1.7 KB
Line 
1pro std_plot_IceSal, Isal1, Isal2, 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 = 'IceSal'
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     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 = Isal1.unit
31  ;
32   title = var+'!C'+std_file1_I
33   plt, Isal1.arr, MIN = .1, MAX = 20.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, Isal1.arr - Isal2.arr, MIN = -4, MAX = 4, INTER = .2, 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
42 endif
43 
44   domdef
45 
46   htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
47   if KEYWORD_SET(postscript) then closeps
48 
49   return
50 end
51
Note: See TracBrowser for help on using the repository browser.