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

Last change on this file since 150 was 150, checked in by navarro, 18 years ago

english and nicer header (3a)

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