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

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

update IDL_scripts for ORCA2_LIM and ORCA2_LIM3, add plot of max_mld output 5days, see ticket: #724

File size: 1.2 KB
RevLine 
[2751]1pro std_plot_bsf, U1, U2, POSTSCRIPT = postscript, _extra = ex
[2709]2
3  compile_opt idl2, strictarrsubs
4
[2751]5@common 
6@std_common
[2709]7
[2751]8  cdti3 = string(cnt, format = '(i3.3)')
9  print, cdti3 + ') ' + blabla
10  filename = cdti3 + '_BSF_'+std_file1_U
11  if std_file1_U NE std_file2_U then filename = filename + '_'+std_file2_U
12  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1
13 
[2709]14  domdef, 0, 6000
15
[4320]16  bb1 = bsf(U1.arr, refvalue = 0., refpoint = [25, 0], /transport )
[2751]17  title = 'Barotropic Stream Function!C'+std_file1_U
18  plt, bb1, min = -200., max = 200., int = 10., /portrait, FORMAT = '(I4)', STYLE = 'so0so' $
19       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title,  _extra = ex
[2709]20
[2751]21  if std_file1_U NE std_file2_U then BEGIN
[4320]22    bb2 = bsf(U2.arr, refvalue = 0., refpoint = [25, 0], /transport )
[2751]23    title = 'Barotropic Stream Function!C'+std_file1_U+' - '+std_file2_U
24    plt, bb1.arr - bb2.arr, min = -20., max = 20., int = 2.,  FORMAT = '(I2)', STYLE = 'so0so' $
25         , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, /NOERASE, _extra = ex
[2709]26  endif
27 
[2751]28  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
29  if KEYWORD_SET(postscript) then closeps
[2709]30
31  return
32end
33
Note: See TracBrowser for help on using the repository browser.