source: trunk/SRC/ToBeReviewed/WIDGET/xx.pro @ 327

Last change on this file since 327 was 327, checked in by pinsard, 16 years ago

modification of headers : mainly blanks around = sign for keywords in declaration of function and pro

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1;+
2;
3; @file_comments
4;
5; @categories
6;
7; @keyword JOUR
8;
9; @keyword MESHFILENAME
10;
11; @keyword LISTVAR
12;
13; @keyword LISTGRID
14;
15; @keyword FUNCLEC_NAME
16;
17; @keyword CALENDAR
18;
19; @keyword _EXTRA
20; Used to pass keywords
21;
22; @uses
23;
24; @restrictions
25;
26; @examples
27;
28; @history
29;
30; @version
31; $Id$
32;
33; @todo
34; seb documenter
35;
36;-
37PRO xx,  JOUR=jour, MESHFILENAME=meshfilename,  LISTVAR=listvar $
38      , LISTGRID=listgrid, FUNCLEC_NAME=funclec_name, CALENDAR=calendar $
39      , _EXTRA=ex
40;
41  compile_opt idl2, strictarrsubs
42;
43@common
44;----------------------------------------------------------------------
45;----------------------------------------------------------------------
46;  Name of the part to be changed
47;----------------------------------------------------------------------
48;----------------------------------------------------------------------
49; Name of the reading function
50   if NOT keyword_set(funclec_name) then funclec_name = 'slec'
51   varexp = 'INF'
52; list of variables
53   if NOT keyword_set(listvar) then listvar = ['tn','sn','un','vn', 'taux', 'tauy','hdep20','hdep28','hdep15','hturb','hpycn','htoth','emp','qn','qs', 'smltot11', 'smltot12', 'smltot13', 'smltot14', 'smltot15', 'smltot16', 'tmltot11', 'tmltot12', 'tmltot13', 'tmltot14', 'tmltot15', 'tmltot16']
54; list of grids to which variables refer to.
55   if NOT keyword_set(listgrid) then BEGIN
56      listgrid = replicate('T', n_elements(listvar))
57      listgrid[[2, 4]] = 'U'
58      listgrid[[3, 5]] = 'V'
59   ENDIF
60; calendar to be used (in IDL julian days
61; ++++    if NOT keyword_set(calendar) then BEGIN
62; ++++       if keyword_set(jour) then calendar = calendriertotem(/julian_day) ELSE calendar = calendriertotem(/julian_day, /mensuel)
63; ++++    ENDIF
64; Name of the file refering to the mask
65   if NOT keyword_set(meshfilename) then meshfilename = '/usr1/com/smasson/IDL/INIT/inittotem.pro'
66; ++++   meshparameters = whichgrid(meshfilename)
67; parameters specifing how the field must be read
68   readparameters= {funclec_name: funclec_name $
69                    , jpidta: jpidta, jpjdta: jpjdta, jpkdta: jpkdta $
70                    , ixmindta: ixmindta, ixmaxdta: ixmaxdta $
71                    , iymindta: iymindta, iymaxdta: iymaxdta $
72                    , izmindta: izmindta, izmaxdta: izmaxdta }
73;----------------------------------------------------------------------
74;----------------------------------------------------------------------
75;   End of the part to be change
76;----------------------------------------------------------------------
77;----------------------------------------------------------------------
78;
79;
80   fileparameters = {filename: 'many !' $
81                     , time_counter: calendar $
82                     , listvar: listvar $
83                     , listgrid: strupcase(listgrid)}
84;
85   multistructure = {fileparameters: temporary(fileparameters) $
86              , readparameters: temporary(readparameters) $
87              , meshparameters: temporary(meshparameters)}
88;
89   xxx, multistructure = temporary(multistructure), _extra = ex
90
91   return
92end
Note: See TracBrowser for help on using the repository browser.