IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2010, 12:05:07 PM (16 years ago)
Author:
eugene
Message:

optimizations for dvomerge and relastro; complete checks of db I/O success; fix overloaded image flags

Location:
trunk/Ohana
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

    • Property svn:mergeinfo deleted
  • trunk/Ohana/src/getstar/src/dvoImageExtract.c

    r27435 r29001  
    3232  // convert database table to internal structure
    3333  images = gfits_table_get_Image (&db.ftable, &Nimages, &db.swapped);
     34  if (!images) {
     35    fprintf (stderr, "ERROR: failed to read images\n");
     36    exit (2);
     37  }
    3438 
    3539  matches = SelectImages (argv[1], images, Nimages, &Nmatches);
  • trunk/Ohana/src/getstar/src/dvoImageOverlaps.c

    r27435 r29001  
    3535  // convert database table to internal structure
    3636  dbImages = gfits_table_get_Image (&db.ftable, &NdbImages, &db.swapped);
     37  if (!dbImages) {
     38    fprintf (stderr, "ERROR: failed to read images\n");
     39    exit (2);
     40  }
    3741 
    3842  // for (i = 1; i < 2; i++) {
  • trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c

    r27435 r29001  
    5555    // convert database table to internal structure
    5656    dbImages = gfits_table_get_Image (&db.ftable, &NdbImages, &db.swapped);
     57    if (!dbImages) {
     58      fprintf (stderr, "ERROR: failed to read images\n");
     59      exit (2);
     60    }
    5761  }
    5862 
Note: See TracChangeset for help on using the changeset viewer.