Go to the documentation of this file.
11 PGSt_double *preload_start_time,
12 PGSt_double start_time,
13 PGSt_double stop_time)
119 char *routine =
"set_start_position";
120 PGSt_SMF_status returnStatus;
121 PGSt_SMF_status PGSstatus;
122 PGSt_SMF_status L1Astatus;
123 PGSt_SMF_boolean continue_trying;
129 continue_trying = PGS_TRUE;
144 while (continue_trying) {
145 PGSstatus = PGS_IO_L0_SetStart (L0_file, *preload_start_time);
167 case PGSIO_W_L0_TIME_NOT_FOUND:
169 *preload_start_time = start_time;
172 PGSstatus = PGS_IO_L0_Close (L0_file);
208 if (!PGS_SMF_TestSuccessLevel(PGSstatus))
210 "unable to close the prior L0 file");
238 "unable to open the current L0 file");
241 continue_trying = PGS_FALSE;
264 continue_trying = PGS_FALSE;
267 "preload start time outside of current L0 file");
281 case PGSIO_E_L0_SEEK_PACKET:
292 PGSstatus = PGS_IO_L0_Close (L0_file);
303 if (!PGS_SMF_TestSuccessLevel(PGSstatus))
305 "unable to close the prior L0 file");
344 "unable to open the current L0 file");
347 continue_trying = PGS_FALSE;
366 continue_trying = PGS_FALSE;
369 "preload start time outside of current L0 file");
400 case PGSIO_M_L0_HEADER_CHANGED:
431 continue_trying = PGS_FALSE;
435 continue_trying = PGS_FALSE;
#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)
void log_fmt_msg(PGSt_SMF_status code, const char *routine, const char *msg_fmt,...)
PGSt_double global_first_gran_start_time
PGSt_SMF_status set_start_position(PGSt_IO_L0_VirtualDataSet L0_file, PGSt_double *preload_start_time, PGSt_double start_time, PGSt_double stop_time)
#define PC_PRIOR_L0_PCF_ID
#define MODIS_F_L0_SETSTART_FAILED
#define MODIS_E_PGS_IO_LO_CLOSE