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_EqS.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_EqS.pro @ 4320

Last change on this file since 4320 was 2751, checked in by smasson, 13 years ago

large update of IDL_scripts for Is-ENES

File size: 1.2 KB
Line 
1pro std_plot_EqS, S1, S2, SLev, 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  filename = cdti3 + '_EqS_'+std_file1_T
11  if std_file1_T NE std_file2_T then filename = filename + '_'+std_file2_T
12  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1
13 
14  title = 'Equatorial Salinity!C'+std_file1_T
15  pltz, S1, MININ = 33., MAXIN = 37., INTER = .2, typein = 'xz', FORMAT = '(f4.1)'  $
16        , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], /PORTRAIT, _extra = ex
17 
18  if std_file1_T EQ std_file2_T then begin
19    S = S1.arr - Slev.arr
20    title = title+' - Levitus'
21  ENDIF ELSE BEGIN
22    S = S1.arr - S2.arr
23    title = title+' - '+std_file2_T
24  ENDELSE
25 
26  pltz, S, MININ = -1., MAXIN = 1., INTER = 0.1, typein = 'xz', STYLE = 'so0so', FORMAT = '(f4.1)' $
27        , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [20., 380., -1., 1., 0., 500.], /noerase, _extra = ex
28
29  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
30  if KEYWORD_SET(postscript) then closeps
31
32  return
33end
34
Note: See TracBrowser for help on using the repository browser.