source: trunk/SRC/Obsolete/fictype.pro @ 320

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

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[2]1;+
[232]2;
[127]3; @file_comments
4; gives fictype ('DA' 'MO' 'AN' 'SE' 'EX') corresponding
5; to the given date in vairmer format ( yymmdd )
[118]6;
7; @param vdate {in}{required}
[127]8;
[231]9; @param dim
10; unused
[118]11;
[231]12; @uses
13; common.pro
[2]14;
[103]15; @examples
[97]16; IDL> fictype = fictype(930124)
[2]17;
[238]18; @history
[232]19; Jerome Vialard  (jv\@lodyc.jussieu.fr)
[97]20; 2/7/98
[118]21;
[238]22; @version
[232]23; $Id$
[118]24;
[2]25;-
[231]26;
[2]27function fictype, vdate, dim
[114]28;
29  compile_opt idl2, strictarrsubs, obsolete
30;
[2]31@common
32;------------------------------------------------------------
33;   constitution de l'adresse ou aller chercher le fichier
34;--------------------------------------------------------------
35; date yymmdd = vdate
36   jul = juldate(vdate)
37;
38   case 1 of
39      (year eq 0) and (month eq 0) : return, 'EX'
40      (year eq 0) and (month ne 0) and (day eq 0) : return, 'SE'
41      (year ne 0) and (month eq 0) : return, 'AN'
42      (year ne 0) and (day eq 0)   : return, 'MO'
43      else                         : return, 'DA'
44   endcase
45;
46;------------------------------------------------------------
47   fini:
48;
49   return, -1
50end
51;------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.