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_qnet.pro in trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_qnet.pro @ 2751

Last change on this file since 2751 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_qnet,  Q1, Q2, QNET, 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 + '_Qnet_'+std_file1_T
11  if std_file1_T EQ std_file2_T then filename = filename + '_OAFlux' $
12  ELSE filename = filename + '_'+std_file2_T
13  if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1
14 
15  title = 'Qnet!C'+std_file1_T
16  plt,  Q1,  MIN = -200., MAX = 200., INTER = 20., STYLE = 'so0so' $
17        , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, FORMAT = '(I4)', /PORTRAIT, _extra = ex
18
19  if std_file1_T EQ std_file2_T then begin
20    title = 'Qnet!C'+std_file1_T+' - OAFlux'
21    Q = Q1.arr - QNET.arr
22  ENDIF ELSE BEGIN
23    title = 'Qnet!C'+std_file1_T+' - '+std_file2_T
24    Q = Q1.arr - Q2.arr
25  ENDELSE
26  plt, Q, MIN = -100, MAX = 100, INTER = 10, STYLE = 'so0so'  $
27       , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, FORMAT = '(I4)', /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.