IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8517


Ignore:
Timestamp:
Aug 23, 2006, 10:33:39 AM (20 years ago)
Author:
eugene
Message:

used abstract name SKY_DEPTH_HST

Location:
trunk/Ohana/src/addstar/src
Files:
2 edited

Legend:

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

    r8428 r8517  
    8181  ScanConfig (config, "CATFORMAT",              "%s",  0, CATFORMAT);
    8282  if (!ScanConfig (config, "SKY_DEPTH",         "%d",  0, &SKY_DEPTH)) {
    83     SKY_DEPTH = 3;
     83    SKY_DEPTH = SKY_DEPTH_HST;
    8484  }
    8585  if (!ScanConfig (config, "SKY_TABLE",         "%s",  0, SKY_TABLE)) {
  • trunk/Ohana/src/addstar/src/getgsc.c

    r8458 r8517  
    1717
    1818  /* load regions from GSC table, restrict to patch */
    19   sky = SkyTableFromGSC (GSCFILE, 2, VERBOSE);
     19  sky = SkyTableFromGSC (GSCFILE, SKY_DEPTH_HST, VERBOSE);
    2020  SkyTableSetFilenames (sky, GSCDIR, "cpt");
    2121  skylist = SkyListByPatch (sky, -1, patch);
     
    3333    free (gsc);
    3434  }
    35  
    3635  SkyTableFree (sky);
     36
    3737  if (VERBOSE) fprintf (stderr, "%d stars from HST GSC\n", Nstars);
    3838  *NSTARS = Nstars;
     
    5454  if (f == NULL) {
    5555    fprintf (stderr, "ERROR: can't find catalog file %s\n", filename);
    56     *nstars = Nstars;
    57     return (stars);
     56    exit (2);
    5857  }
    5958 
Note: See TracChangeset for help on using the changeset viewer.