Changeset 8517
- Timestamp:
- Aug 23, 2006, 10:33:39 AM (20 years ago)
- Location:
- trunk/Ohana/src/addstar/src
- Files:
-
- 2 edited
-
ConfigInit.c (modified) (1 diff)
-
getgsc.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/ConfigInit.c
r8428 r8517 81 81 ScanConfig (config, "CATFORMAT", "%s", 0, CATFORMAT); 82 82 if (!ScanConfig (config, "SKY_DEPTH", "%d", 0, &SKY_DEPTH)) { 83 SKY_DEPTH = 3;83 SKY_DEPTH = SKY_DEPTH_HST; 84 84 } 85 85 if (!ScanConfig (config, "SKY_TABLE", "%s", 0, SKY_TABLE)) { -
trunk/Ohana/src/addstar/src/getgsc.c
r8458 r8517 17 17 18 18 /* load regions from GSC table, restrict to patch */ 19 sky = SkyTableFromGSC (GSCFILE, 2, VERBOSE);19 sky = SkyTableFromGSC (GSCFILE, SKY_DEPTH_HST, VERBOSE); 20 20 SkyTableSetFilenames (sky, GSCDIR, "cpt"); 21 21 skylist = SkyListByPatch (sky, -1, patch); … … 33 33 free (gsc); 34 34 } 35 36 35 SkyTableFree (sky); 36 37 37 if (VERBOSE) fprintf (stderr, "%d stars from HST GSC\n", Nstars); 38 38 *NSTARS = Nstars; … … 54 54 if (f == NULL) { 55 55 fprintf (stderr, "ERROR: can't find catalog file %s\n", filename); 56 *nstars = Nstars; 57 return (stars); 56 exit (2); 58 57 } 59 58
Note:
See TracChangeset
for help on using the changeset viewer.
