Changeset 31612
- Timestamp:
- Jun 8, 2011, 11:43:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505/Ohana/src/relastro/src/high_speed_catalogs.c
r28184 r31612 10 10 11 11 // load the current sky table (layout of all SkyRegions) 12 sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, TRUE, SKY_DEPTH, VERBOSE);12 sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE); 13 13 SkyTableSetFilenames (sky, CATDIR, "cpt"); 14 14 … … 30 30 catalog.Nsecfilt = GetPhotcodeNsecfilt (); 31 31 32 if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, " w")) {32 if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "r")) { 33 33 fprintf (stderr, "ERROR: failure reading catalog %s\n", catalog.filename); 34 34 exit (1); … … 43 43 high_speed_objects (skylist[0].regions[i], &catalog); 44 44 45 if (!UPDATE) { 46 dvo_catalog_unlock (&catalog); 47 dvo_catalog_free (&catalog); 48 continue; 49 } 50 51 save_catalogs (&catalog, 1); 45 dvo_catalog_unlock (&catalog); 46 dvo_catalog_free (&catalog); 52 47 } 53 48
Note:
See TracChangeset
for help on using the changeset viewer.
