source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/xxx_ANT_Icethick_MARS.pro @ 2711

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

add correct unit in idl plots, see ticket 724

File size: 1.5 KB
Line 
1pro xxx_ANT_Icethick_MARS,  Ithi_mars_1, Ithi_mars_2, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex
2
3 @common
4
5 compile_opt idl2, strictarrsubs
6 
7 if KEYWORD_SET(POSTSCRIPT) then begin
8    openps, '020_ANT_IceThick_MARS_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.ps', portrait = 1
9 endif
10 
11                                ;
12 domdef,20,380,-50,-90
13                                ;
14 title=sEXP1+' Antartic Ice Thickness MARS / year '+start_end
15 varunit = Ithi_mars_1.unit
16
17;SF Ithi_mars_1.arr = Ithi_mars_1.arr < 1.
18 plt, Ithi_mars_1.arr - 1.E-04, MIN = 0., MAX = 3., INTER = 0.5 , STYLE = 'so0so',CELL_FILL = 2, /STRICTFILL $
19      , small = [1,2,1], COAST_THICK = 2, TITLE = title  $
20      , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = [-90,0,0], /PORTRAIT, _extra = ex
21
22 if sEXP1 ne sEXP2 then begin
23   
24    title=sEXP1+' - '+sEXP2+' Antartic Ice Thickness MARS / year '+start_end
25    plt, Ithi_mars_1.arr - Ithi_mars_2.arr, MIN = -1., MAX = 1., INTER = 0.1, /STRICTFILL , STYLE = 'so0so' $
26         , small = [1,2,2], COAST_THICK = 2, TITLE = title $
27         , CHARSIZE = 1.05, GLINETHICK = 2., /ORTHO, MAP = [-90,0,0], /NOERASE, _extra = ex
28   
29 endif
30 
31 domdef
32
33 title = 'Antarctic Sea-ice Thickness'
34 text = [   title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/'+sEXP1+'_'+sEXP2+'/ps/020_ANT_IceThick_MARS_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.png  />  ' ]
35 putfile, '/tmp/prova.txt', text
36
37
38 if KEYWORD_SET(POSTSCRIPT) then begin
39    closeps
40 endif
41
42
43 return
44end
45
Note: See TracBrowser for help on using the repository browser.