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_IceVel.pro in branches/UKMO/icebergs_restart_single_file/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/UKMO/icebergs_restart_single_file/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_IceVel.pro @ 6019

Last change on this file since 6019 was 6019, checked in by timgraham, 8 years ago

Reinstated svn keywords before upgrading to head of trunk

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1pro std_plot_IceVel, IvelU1, IvelU2, IvelV1, IvelV2, Ivelo1, Ivelo2, ARC = arc, ANT = ant, FEBR = febr, MARCH = march, SEPT = sept, POSTSCRIPT = postscript, _extra = ex
2
3
4@common 
5@std_common
6
7  cdti3 = string(cnt, format = '(i3.3)')
8  print, cdti3 + ') ' + blabla
9
10  var = 'IceVel'
11  IF keyword_set(arc) THEN var = var+'_Arc_'
12  IF keyword_set(ant) THEN var = var+'_Ant_'
13  IF keyword_set(febr) THEN var = var+'Febr'
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  title = var+'!C'+std_file1_I
31   
32  Ivelo1 = {arr: Ivelo1.arr - 1.E-04, g: 'T'}
33  ; Ivelo1 = {arr: Ivelo1.arr, g: 'T'}
34 
35  plt, Ivelo1, vecteur={u:IvelU1, v:IvelV1}, unvectsur=[3,3], normeref = 0.5, cmref = 1.  $
36        , small = [1, 2, 1], TITLE = title $
37        , /ORTHO, MAP = map, /PORTRAIT, _extra = ex
38 ;                               
39 
40  if std_file1_I NE std_file2_I then begin
41     title = title + std_file2_I 
42  ;   
43     Ivelo = {arr: Ivelo1.arr - Ivelo2.arr, g: 'T'}
44     ; Ivelo1 = {arr: Ivelo1.arr, g: 'T'}
45     ; Ivelo2 = {arr: Ivelo2.arr - 1.E-04, g: 'T'}
46     Ivelo2 = {arr: Ivelo2.arr , g: 'T'}
47   
48     plt, Ivelo, vecteur={u: IvelU2, v: IvelV2}, unvectsur=[3,3], normeref = 0.5, cmref = 1.  $
49          , small = [1, 2, 2], TITLE = title $
50          , /ORTHO, MAP = map, /NOERASE, _extra = ex
51 endif
52 
53   domdef
54 
55   htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
56   if KEYWORD_SET(postscript) then closeps
57 
58   return
59 end
60 
Note: See TracBrowser for help on using the repository browser.