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

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

modification of some headers (+some corrections) to prepare usage of the new idldoc

  • 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, LISTGRID = listgrid, FUNCLEC_NAME = funclec_name, CALENDAR = calendar, _EXTRA = ex
38;
39  compile_opt idl2, strictarrsubs
40;
41@common
42;----------------------------------------------------------------------
43;----------------------------------------------------------------------
44;  Name of the part to be changed
45;----------------------------------------------------------------------
46;----------------------------------------------------------------------
47; Name of the reading function
48   if NOT keyword_set(funclec_name) then funclec_name = 'slec'
49   varexp = 'INF'
50; list of variables
51   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']
52; list of grids to which variables refer to.
53   if NOT keyword_set(listgrid) then BEGIN
54      listgrid = replicate('T', n_elements(listvar))
55      listgrid[[2, 4]] = 'U'
56      listgrid[[3, 5]] = 'V'
57   ENDIF
58; calendar to be used (in IDL julian days
59; ++++    if NOT keyword_set(calendar) then BEGIN
60; ++++       if keyword_set(jour) then calendar = calendriertotem(/julian_day) ELSE calendar = calendriertotem(/julian_day, /mensuel)
61; ++++    ENDIF
62; Name of the file refering to the mask
63   if NOT keyword_set(meshfilename) then meshfilename = '/usr1/com/smasson/IDL/INIT/inittotem.pro'
64; ++++   meshparameters = whichgrid(meshfilename)
65; parameters specifing how the field must be read
66   readparameters= {funclec_name: funclec_name $
67                    , jpidta: jpidta, jpjdta: jpjdta, jpkdta: jpkdta $
68                    , ixmindta: ixmindta, ixmaxdta: ixmaxdta $
69                    , iymindta: iymindta, iymaxdta: iymaxdta $
70                    , izmindta: izmindta, izmaxdta: izmaxdta }
71;----------------------------------------------------------------------
72;----------------------------------------------------------------------
73;   End of the part to be change
74;----------------------------------------------------------------------
75;----------------------------------------------------------------------
76;
77;
78   fileparameters = {filename: 'many !' $
79                     , time_counter: calendar $
80                     , listvar: listvar $
81                     , listgrid: strupcase(listgrid)}
82;
83   multistructure = {fileparameters: temporary(fileparameters) $
84              , readparameters: temporary(readparameters) $
85              , meshparameters: temporary(meshparameters)}
86;
87   xxx, multistructure = temporary(multistructure), _extra = ex
88
89   return
90end
Note: See TracBrowser for help on using the repository browser.