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_erp.pro in branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/CONFIG/ORCA2_LIM3/IDL_scripts – NEMO

source: branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/CONFIG/ORCA2_LIM3/IDL_scripts/std_plot_erp.pro @ 4100

Last change on this file since 4100 was 4100, checked in by clem, 10 years ago
File size: 1006 bytes
Line 
1pro std_plot_erp, ERP1, ERP2, 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 + '_Erp_'+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 = 'Erp!C'+std_file1_T
15  plt, ERP1,  MIN = -5., MAX = 5., INTER = .5, style = 'so0so' $
16       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, /PORTRAIT, format = '(i2)', _extra = ex
17 
18  if std_file1_T NE std_file2_T then begin
19    title = title+' - '+std_file2_T
20    plt, ERP1.arr - ERP2.arr, MIN = -2., MAX = 2., INTER = .25, style = 'so0so' $
21         , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, format = '(f4.1)', /NOERASE, _extra = ex
22  endif
23
24  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
25  if KEYWORD_SET(postscript) then closeps
26
27  return
28end
29
Note: See TracBrowser for help on using the repository browser.