Changeset 39382
- Timestamp:
- Feb 24, 2016, 10:18:30 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relastro/src/relastro.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/relastro.c
r38986 r39382 35 35 exit (0); 36 36 37 case OP_UPDATE_OFFSETS: 37 case OP_UPDATE_OFFSETS: 38 if (!PARALLEL) { 39 FITS_DB db; 40 41 set_db (&db); 42 gfits_db_init (&db); 43 44 /* lock and load the image db table */ 45 int status = dvo_image_lock (&db, ImageCat, 60.0, LCK_SOFT); 46 if (!status) Shutdown ("ERROR: failure to lock image catalog %s", db.filename); 47 if (db.dbstate == LCK_EMPTY) Shutdown ("ERROR: No images in catalog %s (1)", db.filename); 48 if (!dvo_image_load (&db, VERBOSE, FALSE)) Shutdown ("can't read image catalog %s", db.filename); 49 // the raw FITS data is freed by dvo_image_load, leaving only the Image structure data 50 51 /* load regions and images based on specified sky patch (default depth) */ 52 load_images (&db, skylist, FALSE, USE_ALL_IMAGES); 53 } 54 38 55 // iterate over catalogs to make detection coordinates consistant 39 56 UpdateObjectOffsets (skylist, 0, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
