1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
typedef struct Date Date; struct Date { char strDate[17]; }; typedef struct Footprint Footprint; struct Footprint { float geoCoordN[2]; float geoCoordS[2]; float distmgnp; int SWFLAG; }; int getError(char *errorMsg); int setDateStr(int year, int doy, int hour, int minutes, int seconds, int mls, char ncYear[4], char ncDay[3], char ncHour[2], char ncMin[2], char ncSec[2], char ncMls[2], char ncDate[17]);