IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2014, 8:24:47 AM (12 years ago)
Author:
eugene
Message:

moved BuildChipMatch into LoadImagesDVO, and added the loading of the astrom offset table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/opihi/dvo/images.c

    r37570 r37571  
    131131  /* it is not an error for the database not to have any images */
    132132  if ((image = LoadImagesDVO (&Nimage)) == NULL) return (TRUE);
    133   BuildChipMatch (image, Nimage);
    134 
    135   // XXX push this and BuildChipMatch into LoadImagesDVO?
    136   char mapfile[DVO_MAX_PATH];
    137   char *catdir = dvo_get_catdir ();
    138   snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", catdir);
    139   AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, FALSE);
    140 
    141   // assign images.coords.offsetMap -> table->map[i]
    142   if (table) {
    143     AstromOffsetTableMatchChips (image, Nimage, table);
    144   }
     133  // BuildChipMatch (image, Nimage);
    145134
    146135  if (SOLO_MOSAIC && photcode) {
Note: See TracChangeset for help on using the changeset viewer.