- Timestamp:
- Sep 24, 2016, 3:29:05 PM (10 years ago)
- Location:
- branches/czw_branch/20160809
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
Ohana (modified) (1 prop)
-
Ohana/src/relastro/src (modified) (1 prop)
-
Ohana/src/relastro/src/relastro.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809
-
branches/czw_branch/20160809/Ohana
- Property svn:mergeinfo changed
/trunk/Ohana (added) merged: 39652,39669-39671,39692-39693
- Property svn:mergeinfo changed
-
branches/czw_branch/20160809/Ohana/src/relastro/src
- Property svn:mergeinfo changed
/trunk/Ohana/src/relastro/src (added) merged: 39669,39693
- Property svn:mergeinfo changed
-
branches/czw_branch/20160809/Ohana/src/relastro/src/relastro.c
r39619 r39719 104 104 } 105 105 106 case OP_REPAIR_STACKS: { 107 FITS_DB db; 108 if (!PARALLEL) { 109 110 set_db (&db); 111 gfits_db_init (&db); 112 113 /* lock and load the image db table */ 114 int status = dvo_image_lock (&db, ImageCat, 60.0, LCK_SOFT); 115 if (!status) Shutdown ("ERROR: failure to lock image catalog %s", db.filename); 116 if (db.dbstate == LCK_EMPTY) Shutdown ("ERROR: No images in catalog %s (1)", db.filename); 117 if (!dvo_image_load (&db, VERBOSE, FALSE)) Shutdown ("can't read image catalog %s", db.filename); 118 // the raw FITS data is freed by dvo_image_load, leaving only the Image structure data 119 120 /* load regions and images based on specified sky patch (default depth) */ 121 load_images (&db, skylist, FALSE, USE_ALL_IMAGES); 122 } 123 124 // iterate over catalogs to make detection coordinates consistant 125 RepairStacks (skylist, 0, NULL); 126 127 if (!PARALLEL) { 128 freeImages (db.ftable.buffer); 129 gfits_db_free (&db); 130 freeMosaics (); 131 } 132 133 relastro_free (sky, skylist); 134 exit (0); 135 } 136 137 case OP_REPAIR_OBJECT_ID: { 138 139 // iterate over catalogs to make detection coordinates consistant 140 RepairObjectIDs (skylist, 0, NULL); 141 142 relastro_free (sky, skylist); 143 exit (0); 144 } 145 106 146 case OP_HIGH_SPEED: 107 147 /* high-speed is a 2pt cross-correlation process for linking moving objects (high PM) */
Note:
See TracChangeset
for help on using the changeset viewer.
