source: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/read_vermair.pro @ 231

Last change on this file since 231 was 231, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[150]1;+
[231]2;
[150]3; @file_comments
4;
5; @categories
6;
7; @param NAME
8;
9; @param DEBUT
10;
11; @param FIN
12;
13; @param NOMEXP
14;
15; @keyword PARENT
16; same as DIALOG_PARENT de dialog_message.pro
17;
18; @keyword BOXZOOM
[231]19; Vector indicating the geographic zone on which we want to cut the map.
20; If BOXZOOM has :
[150]21;   1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]]
22;   2 elements: The extraction is made on [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]]
23;   4 elements: The extraction is made on [Boxzoom, 0, max([gdept, gdepw])]
24;   5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]]
[231]25;   6 elements: The extraction is made on Boxzoom
[150]26; Where lon1, lon2,lat1,lat2 are global variables defined at the last domdef!
27;
28; @keyword _EXTRA
[231]29; Used to pass keywords
30;
[150]31; @returns
[231]32;
[150]33; @uses
[231]34;
[150]35; @restrictions
[231]36;
[150]37; @examples
[231]38;
[150]39; @history
[231]40;
41; @version
[150]42; $Id$
43;
44; @todo
45; seb
[231]46;
[150]47;-
[231]48;
[69]49FUNCTION read_vermair, name, debut, fin, nomexp, PARENT = parent, BOXZOOM=boxzoom, _EXTRA = ex
[114]50;
51  compile_opt idl2, strictarrsubs
52;
[2]53@common
54   if name EQ 'un' then name = 'vozocrtx'
55   if name EQ 'vn' then name = 'vomecrty'
56   if debut EQ fin then begin
[49]57      res = lec(name,debut,nomexp, BOXZOOM=boxzoom, _EXTRA = ex)
58   ENDIF ELSE res = lect(name,debut,fin, nomexp, BOXZOOM=boxzoom, _EXTRA = ex)
[2]59;------------------------------------------------------------
60   return, {tab:res, grille:vargrid, unite:'', experience:varexp, nom:varname}
61end
Note: See TracBrowser for help on using the repository browser.