FUNCTION c_initmod (satnum, year, month, day, shour, smin, ssec, sfrac, dtype, nlines, model)
long *satnum; long *year; long *month; long *day; long *shour; long *smin; long *ssec; long *sfrac; long *dtype; long *nlines; struct MODEL *model;
The number of the satellite acquiring the pass (for example, 11 for NOAA-11).
The acquisition year of the pass (ie. 94 for 1994).
The month of acquisition.
The julian day of acquisition.
The starting hour of the pass (0 - 23).
The starting minute of the pass (0 - 59).
The starting second of the pass (0 - 59).
The starting fractional second (millisecond) of the pass.
= 1: LAC data = 2: GAC data = 3: HRPT data
The number of lines in the pass.
Structure containing the model and orbital information. model->ehour, model->emin, model->esec, and model->efrac must all be initialized to zero prior to calling c_initmod(), if the ending time of the pass is to be computed.
Incorporate the specified input information into the model structure. Read the ephemeris information from the appropriate tables. Get the initial satellite attitude correction coefficients. Define the ephemeris data and the satellite information within the model structure. Calculate the image end time and latitude/longitude coordinates.
c_initmod() returns
E_SUCC --> Successful completion E_FAIL --> Operation failed