- Timestamp:
- Mar 21, 2012, 3:29:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/initialize.c
r33574 r33585 12 12 args (argc, argv); 13 13 14 photcodesDrop = ParsePhotcodeList (PHOTCODE_DROP_LIST, &Nphotcode Drop, FALSE);15 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &Nphotcode Skip, FALSE);14 photcodesDrop = ParsePhotcodeList (PHOTCODE_DROP_LIST, &NphotcodesDrop, FALSE); 15 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip, FALSE); 16 16 17 17 if (SHOW_PARAMS) { … … 41 41 } 42 42 } 43 44 void initialize_client (int argc, char **argv) { 45 46 /* are these set correctly? */ 47 if (get_argument (argc, argv, "-h")) usage(); 48 if (get_argument (argc, argv, "--h")) usage(); 49 if (get_argument (argc, argv, "-help")) usage(); 50 if (get_argument (argc, argv, "--help")) usage(); 51 52 ConfigInit (&argc, argv); 53 args_client (argc, argv); 54 55 photcodesDrop = ParsePhotcodeList (PHOTCODE_DROP_LIST, &NphotcodesDrop, FALSE); 56 photcodesSkip = ParsePhotcodeList (PHOTCODE_SKIP_LIST, &NphotcodesSkip, FALSE); 57 58 if (SHOW_PARAMS) { 59 fprintf (stderr, "current parameter settings:\n"); 60 fprintf (stderr, "VERBOSE: %d\n", VERBOSE); 61 fprintf (stderr, "JOIN_RADIUS: %lf\n", JOIN_RADIUS); 62 fprintf (stderr, "UNIQ_RADIUS: %lf\n", UNIQ_RADIUS); 63 64 fprintf (stderr, "XMIN: %lf\n", XMIN); 65 fprintf (stderr, "XMAX: %lf\n", XMAX); 66 fprintf (stderr, "YMIN: %lf\n", YMIN); 67 fprintf (stderr, "YMAX: %lf\n", YMAX); 68 fprintf (stderr, "MMIN: %lf\n", MMIN); 69 fprintf (stderr, "MMAX: %lf\n", MMAX); 70 fprintf (stderr, "DMCAL_MIN: %lf\n", DMCAL_MIN); 71 fprintf (stderr, "DMSYS: %lf\n", DMSYS); 72 73 fprintf (stderr, "CHISQ_MAX: %lf\n", CHISQ_MAX); 74 fprintf (stderr, "NMEAS_MIN: %d\n", NMEAS_MIN); 75 76 fprintf (stderr, "IMAGE_CATALOG %s\n", ImageCat); 77 fprintf (stderr, "GSCFILE %s\n", GSCFILE); 78 fprintf (stderr, "CATDIR %s\n", CATDIR); 79 fprintf (stderr, "PHOTCODE_FILE %s\n", PhotCodeFile); 80 81 exit (0); 82 } 83 }
Note:
See TracChangeset
for help on using the changeset viewer.
