Defects Index | Documentation Table of Contents
99/01/27 DEFECT IN mergedb
SYMPTOM: editdb failure when reading the binary database.
PROBLEM: mergedb was converting the two digit year by adding/subtracting
1900 from the value. For years 2000 and later, two digit
years were therefore 100 or greater and trapped as error.
Change the two digit year convertion to use the mod (remainder)
intrinsic Fortran function.
FOUND BY: M. Schenewerk 99/01/26
FIXED BY: M. Schenewerk 99/01/27
NOTES: I (MSS) took this opportunity to include the modifications so
that HP version of mergedb could successfully read PC files.
Recall that DOS descendent operating systems use two characters,
a carriage control and line feed, to terminate lines; Unix
descendent use the line feed only. Therefore, an uncoverted
DOS RINEX file will appear to have "stray" characters in the
Unix environment. I modified the the RINEX reading subroutines
to handle this special case. I also combined the routines into
a single source code file. A few additional modifications will
be necessary but these routines are almost in the form to be
more general, library functions if desired.
June 25, 1999