IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35312 for branches


Ignore:
Timestamp:
Mar 14, 2013, 9:21:17 AM (13 years ago)
Author:
eugene
Message:

error in the mosaic astrometry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130307/Ohana/src/libdvo/src/dbExtractMeasures.c

    r35263 r35312  
    468468      ra  = average[0].R - measure[0].dR / 3600.0;
    469469      dec = average[0].D - measure[0].dD / 3600.0;
    470       mosaic = MatchMosaicMetadata (measure[0].imageID);
     470      if (REMOTE_CLIENT) {
     471        mosaic = MatchMosaicMetadata (measure[0].imageID);
     472      } else {
     473        mosaic = MatchMosaic (measure[0].t, measure[0].photcode);
     474      }
    471475      if (mosaic == NULL) break;
    472476      RD_to_XY (&x, &y, ra, dec, mosaic);
     
    476480      ra  = average[0].R - measure[0].dR / 3600.0;
    477481      dec = average[0].D - measure[0].dD / 3600.0;
    478       mosaic = MatchMosaic (measure[0].t, measure[0].photcode);
     482      if (REMOTE_CLIENT) {
     483        mosaic = MatchMosaicMetadata (measure[0].imageID);
     484      } else {
     485        mosaic = MatchMosaic (measure[0].t, measure[0].photcode);
     486      }
    479487      if (mosaic == NULL) break;
    480488      RD_to_XY (&x, &y, ra, dec, mosaic);
Note: See TracChangeset for help on using the changeset viewer.