FUNCTION c_acqtmcor (satnum, f_month, f_day, f_year, f_hour, f_min, f_sec, f_fsec, timcor)
long *satnum; long *f_month; long *f_day; long *f_year; long *f_hour; long *f_min; long *f_sec; long *f_fsec; long *timcor;
Number of the satellite that acquired the image (9, 10, 11, etc).
Month in which the image was acquired (1-12).
Day the image was acquired (1-31).
Two digit year in which the image was acquired.
Hour at the start of acquisition (0-24 GMT).
Minute at the start of acquisition (0-59).
Seconds at the start of acquisition (0-59).
Fractional seconds at the start of acquisition multiplied by 1000 (0-999).
Milliseconds that should be subtracted from the time stamp code of each line of data to correct for the error in the satellite's onboard clock. This value may be divided by 1000 to produce the correct fraction of a second.
The c_acqtmcor() routine determines the time correction value for an AVHRR acquisition image. Given the number of a NOAA satellite and the date and time at the start of acquisition, this function will use the time correction tables in ADAPSTABLES to determine the error in the satellite's onboard clock. This value can then be used to correct the time stamp code for each line of data so that it agrees with the NBS time.
The time correction table is generated by the AVHRR acquisition software by comparing the time received from the satellite clock and the NBS clock on the acquisition system. The difference is the time correction.
c_acqtmcor() returns
E_SUCC --> Successful completion. E_FAIL --> Operation failed.