IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 19, 2005, 5:10:19 PM (21 years ago)
Author:
eugene
Message:

modifications to use CATMODE, CATFORMAT

Location:
trunk/Ohana/src/getstar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/getstar/include/getstar.h

    r3466 r4828  
    2222char   GSCFILE[256];
    2323char   CATDIR[256];
     24char   CATMODE[16];    /* raw, mef, split, mysql */
     25char   CATFORMAT[16];  /* internal, elixir, loneos, panstarrs */
    2426double DEFAULT_RADIUS, NSIGMA, SNLIMIT;
    2527double ZeroPt;
  • trunk/Ohana/src/getstar/src/ConfigInit.c

    r2490 r4828  
    4040  ScanConfig (config, "GSCFILE",                "%s", 0, GSCFILE);
    4141  ScanConfig (config, "CATDIR",                 "%s", 0, CATDIR);
     42  ScanConfig (config, "CATMODE",                "%s",  0, CATMODE);
     43  ScanConfig (config, "CATFORMAT",              "%s",  0, CATFORMAT);
    4244  ScanConfig (config, "MIN_SN_FSTAT",           "%lf", 0, &SNLIMIT);
    4345  ScanConfig (config, "PHOTCODE_FILE",          "%s", 0, PhotCodeFile);
     
    5355  ScanConfig (config, "CCDNUM-KEYWORD",         "%s", 0, CCDNumKeyword);
    5456
     57  if (*CATMODE == 0) strcpy (CATMODE, "RAW");
     58  if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR");
     59
    5560  if (!LoadPhotcodes (PhotCodeFile)) {
    5661    fprintf (stderr, "error loading photcodes\n");
  • trunk/Ohana/src/getstar/src/gcatalog.c

    r2490 r4828  
    55  int Nsecfilt;
    66  char mode;
     7
     8  /* no autodetect for CATMODE yet */
     9  strcpy (catalog[0].catmode, CATMODE);
    710
    811  /* read catalog header */
Note: See TracChangeset for help on using the changeset viewer.