IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13140


Ignore:
Timestamp:
May 2, 2007, 2:19:53 PM (19 years ago)
Author:
eugene
Message:

adding user-specified EXTNAME keyword, Image Table file

File:
1 edited

Legend:

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

    r12732 r13140  
    6262  ScanConfig (config, "SUBPIX_DATAFILE",        "%s",  0, SubpixDatafile);
    6363
     64  if (!ScanConfig (config, "EXTNAME-KEYWORD",        "%s",  0, ExtnameKeyword)) {
     65      strcpy (ExtnameKeyword, "EXTNAME");
     66  }
     67
    6468  /* instrumental magnitude range for calibration mode */
    6569  CAL_INSTMAG_MAX =  -9.0;
     
    9195    SKY_TABLE[0] = 0;
    9296  }
    93   sprintf (ImageCat, "%s/Images.dat", CATDIR);
    9497
    95   /* dropped: GetConfig (config, "IMAGE_CATALOG",          "%s",  0, ImageCat); */
     98  if (!ScanConfig (config, "IMAGE_TABLE",       "%s",  0, ImageCat)) {
     99    if (!ScanConfig (config, "IMAGE_CATALOG",   "%s",  0, ImageCat)) {
     100      sprintf (ImageCat, "%s/Images.dat", CATDIR);
     101    }
     102  }
    96103
    97104  ScanConfig (config, "CAMERA_LAYOUT",          "%s",  0, CameraLayout);
Note: See TracChangeset for help on using the changeset viewer.