Go to the documentation of this file.
5 #define MANEUVER_LUN 600002
104 #define MAX_MANEUVERS \
105 (PGSd_PC_VALUE_LENGTH_MAX/(2* sizeof "2010-05-25T12:57:04.000"))
108 static int count = -1;
110 char msgbuf[PGSd_PC_VALUE_LENGTH_MAX + 32];
111 char filefunc[] = __FILE__
", GEO_in_maneuver";
115 char maneuver_string[PGSd_PC_VALUE_LENGTH_MAX];
116 char const *pstart = maneuver_string;
119 switch(PGS_PC_GetConfigData(
MANEUVER_LUN, maneuver_string))
121 case PGSPC_W_NO_CONFIG_FOR_ID:
122 return PGS_S_SUCCESS;
129 sprintf(msgbuf,
"PGS_PC_GetConfigData(%ld)", (
long)
MANEUVER_LUN);
140 char *
pblank = strchr(pstart,
' ');
144 sprintf(msgbuf,
"time string = \"%s\"", pstart);
155 if(PGS_TD_UTCtoTAI((
char*)pstart, maneuver_list[
count] +
val)
158 sprintf(msgbuf,
"PGS_TD_UTCtoTAI(\"%s\")", pstart);
170 sprintf(msgbuf,
"maneuver_string = \"%s\"",
187 for(man = 0; man <
count; man++)
188 if(maneuver_list[man][0] < tai1993 && tai1993 < maneuver_list[man][1])
191 return PGS_S_SUCCESS;
#define MODIS_E_BAD_INPUT_ARG
#define MODIS_N_GEO_MANEUVER
PGSt_SMF_status GEO_in_maneuver(PGSt_double tai1993)