Go to the documentation of this file.
36 int32_t hour, minute, second;
42 month =
time->tm_mon + 1;
45 second =
time->tm_sec;
46 minute =
time->tm_min;
51 fday = ((hour * 60 + minute)*60 + second) / 86400.0;
69 int hour, minute, second;
71 mjd = (int32_t) (tjd + 0.5);
72 secs = (tjd + 0.5 - mjd) * 86400.0 + 0.0005;
77 hour = (
int) (secs / 3600.0);
78 minute = (
int) (secs / 60.0) % 60;
79 second = (
int) (secs) % 60;
81 time->tm_sec = second;
82 time->tm_min = minute;
104 int year, month,
day, hour, minute, second, millisec;
109 month = date / 100
L % 100
L;
110 year = date / 10000
L % 100
L;
111 millisec =
time % 1000
L;
112 second =
time / 1000
L % 100
L;
113 minute =
time / 100000
L % 100
L;
114 hour =
time / 10000000
L % 100
L;
123 fday = (((hour * 60.0 + minute)*60.0 + second) + millisec / 1000.0) / 86400.0;
125 result = mjd + fday - 0.5;
136 int32_t *date, *
time;
139 int32_t mjd, hour, minute, second, millisec;
142 mjd = (int32_t) (tjd + 0.5);
143 secs = (tjd + 0.5 - mjd) * 86400.0 + 0.0005;
146 hour = (int32_t) (secs / 3600.0);
147 minute = (int32_t) (secs / 60.0) % 60
L;
148 second = (int32_t) (secs) % 60
L;
149 millisec = (int32_t) (secs * 1000.0) % 1000
L;
151 *date = ((int32_t)
year % 100
L)*10000
L + (int32_t) month * 100
L + (int32_t)
day;
152 *
time = hour * 10000000
L + minute * 100000
L + second * 1000
L + millisec;
void jultoi(double tjd, int32_t *date, int32_t *time)
subroutine julday(YYMMDD, JDAY)
double tmtojul(struct tm *time)
void jultotm(double tjd, struct tm *time)
double itojul(int32_t date, int32_t time)
void caldat(long julian, int *mm, int *id, int *iyyy)
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that and then aggregated up to Resolved feature request Bug by adding three new int8 SDSs for each high resolution offsets between the high resolution geolocation and a bi linear interpolation extrapolation of the positions This can be used to reconstruct the high resolution geolocation Resolved Bug by delaying cumulation of gflags until after validation of derived products Resolved Bug by setting Latitude and Longitude to the correct fill resolving to support Near Real Time because they may be unnecessary if use of entrained ephemeris and attitude data is turned resolving bug report Corrected to filter out Aqua attitude records with missing status helping resolve bug MOD_PR03 will still correctly write scan and pixel data that does not depend upon the start time