IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2012, 3:05:06 PM (14 years ago)
Author:
eugene
Message:

add support for ubercal in setphot; add support for parallel dvo in setphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/uniphot/src/ConfigInit.c

    r27790 r33654  
    77  double ZERO_POINT;
    88  char  *config, *file;
    9   char CatdirPhotcodeFile[256];
    10   char MasterPhotcodeFile[256];
    119
    1210  /*** load configuration info ***/
     
    2321  ScanConfig (config, "CATMODE",                "%s",  0, CATMODE);
    2422  ScanConfig (config, "CATFORMAT",              "%s",  0, CATFORMAT);
    25   ScanConfig (config, "PHOTCODE_FILE",          "%s",  0, MasterPhotcodeFile);
    2623
    2724  sprintf (ImageCat, "%s/Images.dat", CATDIR);
     
    4340  if (*CATMODE == 0) strcpy (CATMODE, "RAW");
    4441  if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR");
    45 
    46   /* XXX this does not yet write out the master photcode table */
    47   sprintf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR);
    48   if (!LoadPhotcodes (CatdirPhotcodeFile, MasterPhotcodeFile, TRUE)) {
    49     fprintf (stderr, "error loading photcode table %s or master file %s\n", CatdirPhotcodeFile, MasterPhotcodeFile);
    50     exit (1);
    51   }
    52 
    5342}
    5443
Note: See TracChangeset for help on using the changeset viewer.