RCS file: /home/cvs/CVS_REPOSITORY/repository_GRASP/GRASP/src/utility/frameinterface.c,v Working file: frameinterface.c head: 1.35 branch: locks: strict access list: symbolic names: RELEASE_1_9_7: 1.34 RELEASE_1_9_6: 1.34 RELEASE_1_9_5: 1.34 RELEASE_1_9_4: 1.34 RELEASE_1_9_3: 1.34 RELEASE_1_9_2: 1.34 RELEASE_1_9_1: 1.33 RELEASE_1_9_1exp0: 1.33 RELEASE_1_9_0: 1.33 RELEASE_1_8_6: 1.30 RELEASE_1_8_5exp2: 1.30 RELEASE_1_8_5: 1.30 RELEASE_1_8_4v5: 1.30 RELEASE_1_8_4v4: 1.30 RELEASE_1_8_4v3: 1.30 RELEASE_1_8_4v2: 1.30 RELEASE_1_8_4: 1.30 RELEASE_1_8_3: 1.28 RELEASE_1_8_2: 1.28 RELEASE_1_8_1: 1.27 RELEASE_1_8_0: 1.27 RELEASE_1_7_0: 1.19 RELEASE_1_6_7_1: 1.19 RELEASE_1_6_6_3: 1.19 RELEASE_1_6_6_2: 1.19 RELEASE_1_6_6: 1.19 RELEASE_1_6_5: 1.19 RELEASE_1_6_4: 1.19 RELEASE_1_6_3: 1.19 RELEASE_1_6_2: 1.19 RELEASE_1_6exp15: 1.19 RELEASE_1_6exp14: 1.19 RELEASE_1_6exp13: 1.18 RELEASE_1_6exp12: 1.17 RELEASE_1_6exp11: 1.17 RELEASE_1_6exp10: 1.16 RELEASE_1_6_exp9: 1.16 RELEASE_1_6exp8: 1.16 RELEASE_1_6exp7: 1.16 RELEASE_1_6exp6: 1.16 RELEASE_1_6exp5: 1.16 RELEASE_1_6exp4: 1.15 RELEASE_1_6exp3: 1.15 RELEASE_1_6exp2: 1.15 RELEASE_1_6exp1: 1.15 RELEASE_1_5_2: 1.11 RELEASE_1_5_1: 1.11 RELEASE_1_5: 1.10 RELEASE_1_5exp3: 1.10 RELEASE_1_5exp2: 1.9 RELEASE_1_5exp: 1.9 RELEASE_1_4: 1.7 RELEASE_1_3_1: 1.6 RELEASE_1_3: 1.6 TEST_1_3_2: 1.6 TEST_1_3_1: 1.6 TEST_1_3_0: 1.5 RELEASE_1_2: 1.1 keyword substitution: kv total revisions: 35; selected revisions: 35 description: ---------------------------- revision 1.35 date: 1999/12/15 19:38:37; author: ballen; state: Exp; lines: +4 -4 Updated for frame library versions <= 3.85 No changes were necessary except that the internal stored version numbers were modified. ---------------------------- revision 1.34 date: 1999/06/29 23:01:46; author: ballen; state: Exp; lines: +19 -14 Modified to handle the WIN32 cases ---------------------------- revision 1.33 date: 1999/06/04 22:34:57; author: ballen; state: Exp; lines: +17 -13 Removed extra space before #include _MACOS_ from utility.c, and modified frameinterface.c to read slow channels ---------------------------- revision 1.32 date: 1999/05/12 23:08:03; author: ballen; state: Exp; lines: +58 -5 Frameinterface now works with slow channels, and with channels that are not shorts. utctime fixed to work with any length set of leap secs, updated so error messages > Dec 31, 1999 ---------------------------- revision 1.31 date: 1999/05/02 17:17:08; author: ballen; state: Exp; lines: +49 -76 Modified the framefiles() function to recognize several different types of frame file names, including C1-*.F and H*.F, H*.T, L*.F and L*.T. ---------------------------- revision 1.30 date: 1999/01/21 06:18:50; author: ballen; state: Exp; lines: +2 -1 Added additional "filename" field to fget_ch() output structure. ---------------------------- revision 1.29 date: 1998/10/26 01:38:04; author: ballen; state: Exp; lines: +5 -5 Check that FrLibVersion() exists in framelib ---------------------------- revision 1.28 date: 1998/10/13 23:08:59; author: ballen; state: Exp; lines: +2 -2 Modified frametested ---------------------------- revision 1.27 date: 1998/10/01 22:34:58; author: ballen; state: Exp; lines: +23 -11 Fixed error with _gps variable, better error messages, prints Frame library archive and header file versions. ---------------------------- revision 1.26 date: 1998/10/01 20:32:31; author: ballen; state: Exp; lines: +62 -6 Modified frameinterface so that framefiles() looks for files of name *.F also. Added utctime.c to Makefile. ---------------------------- revision 1.25 date: 1998/09/09 01:27:14; author: ballen; state: Exp; lines: +2 -2 Changed wording of warning message. ---------------------------- revision 1.24 date: 1998/09/08 22:29:33; author: ballen; state: Exp; lines: +1 -4 Moved UTCTOGMT constant into the header file, so it only lives in a single place -- this way it can be easily changed! ---------------------------- revision 1.23 date: 1998/09/08 21:04:00; author: ballen; state: Exp; lines: +23 -3 Modified so that if the time of a frame appears > year 2004 it assumes that the time stored in the frame is in unix-utc format rather than in GPS format, and corrects it. ---------------------------- revision 1.22 date: 1998/09/07 23:04:29; author: ballen; state: Exp; lines: +13 -4 Modified frame interface so that time would be returned in UTC rather than GPS time. ---------------------------- revision 1.21 date: 1998/08/07 18:04:01; author: ballen; state: Exp; lines: +2 -2 Modified warning message so only invoked if frame version > 3.60. ---------------------------- revision 1.20 date: 1998/08/05 21:18:27; author: ballen; state: Exp; lines: +7 -5 Fixed problem: if looking at not in lock data, ratios[0] was never set. ---------------------------- revision 1.19 date: 1998/01/23 17:59:52; author: ballen; state: Exp; lines: +2 -1 Revised copyright data. ---------------------------- revision 1.18 date: 1998/01/21 19:45:14; author: ballen; state: Exp; lines: +7 -3 Fixed spelling error, improved error message. ---------------------------- revision 1.17 date: 1998/01/21 18:34:08; author: ballen; state: Exp; lines: +2 -2 Tested up to framelib version 3.50 ---------------------------- revision 1.16 date: 1998/01/06 21:16:43; author: ballen; state: Exp; lines: +2 -2 Incremented tested version of framelib to 3.42 ---------------------------- revision 1.15 date: 1997/12/27 21:16:51; author: ballen; state: Exp; lines: +7 -4 Added ---------------------------- revision 1.14 date: 1997/12/22 18:49:21; author: ballen; state: Exp; lines: +5 -1 Fixed a bug in the fget_ch() routine. If several channels were requested and the system went out of lock, then the fgetoutput.npoints[] arrays were not reset to zero before starting to aquire points from the next locked segment. As a result, these arrays had more points in them than the number actually returned. ---------------------------- revision 1.13 date: 1997/11/20 22:32:08; author: ballen; state: Exp; lines: +14 -7 Modified error message in frameinterface and fixed it so that it recognizes the version >=2.37 of the frame lib. ---------------------------- revision 1.12 date: 1997/10/08 23:11:52; author: ballen; state: Exp; lines: +42 -1 Modified to be compatible with any version of the frame library >=2.37 and <=3.30 . ---------------------------- revision 1.11 date: 1997/08/11 22:00:55; author: ballen; state: Exp; lines: +3 -1 Added an _XOPEN_SOURCE macro so that the include file would properly declare popen() for the compiler. ---------------------------- revision 1.10 date: 1997/08/07 18:11:16; author: ballen; state: Exp; lines: +9 -1 Error message if calibration information to short (< 2 frequencies). ---------------------------- revision 1.9 date: 1997/07/15 00:43:19; author: ballen; state: Exp; lines: +4 -3 Modified. ---------------------------- revision 1.8 date: 1997/07/09 23:30:41; author: ballen; state: Exp; lines: +117 -84 Error handler changed. ---------------------------- revision 1.7 date: 1997/05/21 16:23:02; author: ballen; state: Exp; lines: +33 -27 Frameinterface.c modified to conform to the latest version, 2.30 of the frame library. The old interface routine frameinterface.c.v2.20 will be maintained in the archive. ---------------------------- revision 1.6 date: 1997/05/01 04:22:42; author: ballen; state: Exp; lines: +36 -10 Modified, locklo/hi scheme. ---------------------------- revision 1.5 date: 1997/04/30 18:22:36; author: ballen; state: Exp; lines: +6 -15 Changed file list mechanism from temporary file to pipe. ---------------------------- revision 1.4 date: 1997/04/30 07:00:39; author: ballen; state: Exp; lines: +139 -154 Added/modified stuff in multitaper. ---------------------------- revision 1.3 date: 1997/04/15 06:54:50; author: ballen; state: Exp; lines: +218 -23 Added a new function fget_ch() and fixed fget_channel(). ---------------------------- revision 1.2 date: 1997/04/11 14:34:43; author: ballen; state: Exp; lines: +278 -5 New frame interface access function ---------------------------- revision 1.1 date: 1997/04/02 05:54:04; author: ballen; state: Exp; multitaper.c New argument to remove_spectral_lines() to break out of loop quickly. frameinterface.c New set of interfaces to the frame library. =============================================================================