Wednesday, April 02, 2008

GSAC cannot handle the last day of leap years!

> gsac-client -y 2000 -d 366 -s bjfs0000 -f info
Day option argument (-d) formatted incorrectly...ignoring
When specifying a year and day (via -y and -d) you need both parameteters (see -
-function help)

> doy 2000 366
Date 2000/12/31 0:00 hrs, DOY 366 JD 2451909.5000 MJD 51909.0000
GPS Week 1095 Day of week 0, GPS Seconds 0 Day of Week Sun
Decimal Year 2000.997268
>


It is confirmed that gsac cannot handle the last day of leap years, whether in Windows or Linux/Unix environment.

If it is true, then this is a serious bug. How could this happen?

No comments: