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_Med_Sdepth.pro in branches/2014/dev_r4650_UKMO7_STARTHOUR/NEMOGCM/CONFIG/ORCA2_SAS_LIM/IDL_scripts – NEMO

source: branches/2014/dev_r4650_UKMO7_STARTHOUR/NEMOGCM/CONFIG/ORCA2_SAS_LIM/IDL_scripts/std_plot_Med_Sdepth.pro @ 5985

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

Reinstate keywords before upgrading to head of trunk

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1pro std_plot_Med_Sdepth, S1, S2, SLev, lat, POSTSCRIPT = postscript,  _extra = ex
2
3  compile_opt idl2, strictarrsubs
4
5@common 
6@std_common
7
8  slat = strtrim(lat, 1)+'N'
9  cdti3 = string(cnt, format = '(i3.3)')
10  print, cdti3 + ') ' + blabla
11  filename = cdti3 + '_Med_Sdepth_'+slat+'_'+std_file1_T
12  if std_file1_T NE std_file2_T then filename = filename + '_'+std_file2_T
13  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1
14;
15  title = 'Salinity ('+slat+')!C'+std_file1_T
16  pltz, S1, MININ = 35., MAXIN = 37., INTER = 0.1, FORMAT = '(f4.1)' $
17        , small = [1, 2, 1], COAST_THICK = 2, endpoints = [300., lat, 357., lat], TITLE = title $
18        , boxzoom = [2000.], ZOOM = 2000., /PORTRAIT, _extra = ex
19;
20  if std_file1_T NE std_file2_T then begin
21    title = title+ ' - '+std_file2_T
22    pltz, S1.arr - S2.arr + valmask*(1.-tmask), MININ = -.4, MAXIN = .4, INTER = .05, STYLE = 'so0so', FORMAT = '(f4.1)' $
23          , small = [1, 2, 2], COAST_THICK = 2, endpoints = [300., lat, 357., lat], TITLE = title $
24          , boxzoom = [2000.], ZOOM = 2000., /noerase, _extra = ex
25  endif else begin
26    title = title+ ' - Levitus'
27    pltz, S1.arr - SLev.arr + valmask*(1.-tmask), MININ = -1., MAXIN = 1., INTER = 0.1, STYLE = 'so0so', FORMAT = '(f4.1)' $
28          , small = [1, 2, 2], COAST_THICK = 2, endpoints = [300., lat, 357., lat], TITLE = title $
29          , boxzoom = [2000.], ZOOM = 2000., /noerase, _extra = ex
30  endelse
31
32  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
33  if KEYWORD_SET(postscript) then closeps
34
35  return
36end
Note: See TracBrowser for help on using the repository browser.