Go to the documentation of this file.
10 PGSt_IO_L0_Packet *pkt)
118 PGSt_SMF_status returnStatus;
119 PGSt_SMF_status L1A_status;
120 PGSt_SMF_status PGS_status;
121 char *routine =
"read_a_packet";
123 PGSt_double L0_start_time;
124 PGSt_double L0_stop_time;
159 returnStatus = lastStatus;
241 case PGSIO_W_L0_END_OF_VIRTUAL_DS:
244 PGS_status = PGS_IO_L0_Close (*L0_file);
245 if (PGS_SMF_TestSuccessLevel(PGS_status) == PGS_FALSE)
247 "Unable to close the prior L0 file");
291 case PGSIO_M_L0_HEADER_CHANGED:
296 sprintf(
msg,
"Unable to validate the L0 header successfully L0 LUN: %d",
316 case PGSIO_W_L0_PKT_BUF_TRUNCATE:
347 return (returnStatus);
int validate_L0_header(PGSt_IO_L0_VirtualDataSet L0_file)
#define MODIS_E_GET_VALID_L0_FILE
PGSt_PC_Logical global_L0_logical
#define PC_CURRENT_L0_PCF_ID
PGSt_SMF_status get_valid_L0_file(PGSt_tag spacecraft_tag, PGSt_IO_L0_VirtualDataSet *L0_file, PGSt_double *start_time, PGSt_double *stop_time)
PGSt_SMF_status read_a_packet(PGSt_IO_L0_VirtualDataSet *L0_file, PGSt_IO_L0_Packet *pkt)
void log_fmt_msg(PGSt_SMF_status code, const char *routine, const char *msg_fmt,...)
#define MODIS_W_NO_MORE_PACKETS
#define MODIS_F_PKT_READ_FAILED
#define PC_PRIOR_L0_PCF_ID
#define MODIS_E_PGS_IO_LO_CLOSE