Go to the documentation of this file.
23 static char tempstr[21];
24 time_t temp = (time_t) usec;
25 strftime(tempstr, 21,
"%b %d %Y %T", gmtime((time_t *) & temp));
30 printf(
"\nSeaWiFS Level-0 Format Report\n");
31 printf(
"File Name: %s\n", indx->l0file);
33 if (indx->type ==
HRPT)
34 printf(
"Type: %s\n",
"HRPT");
36 printf(
"Type: %s\n",
"GAC/LAC");
48 printf(
"AOS Time: %s\n",
format_time(indx->timeAOS));
49 printf(
"LOS Time: %s\n",
format_time(indx->timeLOS));
51 printf(
"Start_Time: %s\n",
format_time(indx->timeFirst));
52 printf(
"End_Time: %s\n",
format_time(indx->timeLast));
54 printf(
"Start_Zulu: %s\n",
ydhmsf((
double) indx->timeFirst,
'G'));
56 printf(
"Number of Frames: %d\n", indx->nrecs);
57 printf(
"GAC Frames: %d\n", indx->ngac);
58 printf(
"LAC Frames: %d\n", indx->nlac);
59 printf(
"Lunar Cal Frames: %d\n", indx->nlun);
60 printf(
"Solar Cal Frames: %d\n", indx->nsol);
61 printf(
"Intergain Cal Frames: %d\n", indx->nigc);
62 printf(
"TDI Cal Frames: %d\n", indx->ntdi);
63 printf(
"Frame Timing Errors: %d\n", indx->timeError);
64 printf(
"SCID Errors: %d\n", indx->scidError);
65 printf(
"SOH Header Errors: %d\n", indx->sohError);
66 printf(
"Reported Bit Error Rate: %e\n", indx->bitRateRep);
67 printf(
"Computed Bit Error Rate: %e\n", indx->bitRateComp);
char * ydhmsf(double dtime, char zone)
void printindx(swl0indx *indx)
char * format_time(double usec)