Changeset 34632
- Timestamp:
- Oct 31, 2012, 2:24:41 PM (14 years ago)
- File:
-
- 1 edited
-
tags/ipp-20121026/ippToPsps/src/Dvo.c (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20121026/ippToPsps/src/Dvo.c
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/eam_branches/ipp-20110404/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20110505/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20110710/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20110906/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20111110/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20120405/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20120627/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20120805/ippToPsps/src/Dvo.c merged eligible /branches/eam_branches/ipp-20120905/ippToPsps/src/Dvo.c merged eligible /branches/haf_add201112/ippToPsps/src/Dvo.c merged eligible /trunk/ippToPsps/src/Dvo.c merged eligible /branches/czw_branch/20101203/ippToPsps/src/Dvo.c 29907-30631 /branches/eam_branches/ipp-20101103/ippToPsps/src/Dvo.c 29657-29920 /branches/eam_branches/ipp-20101205/ippToPsps/src/Dvo.c 29959-30585 /branches/eam_branches/ipp-20110213/ippToPsps/src/Dvo.c 30628-31149
r33765 r34632 90 90 } 91 91 else { 92 Average *ave = &dvoDetections[i].ave; 93 Measure *meas = &dvoDetections[i].meas; 94 PhotCode *code = GetPhotcodebyCode(meas->photcode); 92 95 sprintf(sql, 93 "INSERT INTO dvoDetection (imageID, ippDetectID, detectID, ippObjID, objID, flags ) VALUES (%d, %u, %lu, %lu, %lu, %u)",96 "INSERT INTO dvoDetection (imageID, ippDetectID, detectID, ippObjID, objID, flags, zp, zpErr, airMass, expTime, ra, dec_, raErr, decErr) VALUES (%d, %u, %lu, %lu, %lu, %u, %f, %f, %f, %f, %lf, %lf, %f %f)", 94 97 image->imageID, // imageID 95 dvoDetections[i].meas.detID, // ippDetectID 96 dvoDetections[i].meas.extID, // detectID 97 (uint64_t)dvoDetections[i].ave.catID*1000000000 + (uint64_t)dvoDetections[i].ave.objID, // ippObjID 98 dvoDetections[i].ave.extID, // objID 99 dvoDetections[i].meas.dbFlags); // flags 98 meas->detID, // ippDetectID 99 meas->extID, // detectID 100 (uint64_t)ave->catID*1000000000 + (uint64_t)ave->objID, // ippObjID 101 dvoDetections[i].ave.extID, // objID 102 meas->dbFlags, // flags 103 code->C * 0.001 + code->K * (meas->airmass - 1) - meas->Mcal, // zp 104 meas->dMcal, // zpErr 105 meas->airmass, 106 pow(10.0, 0.4 * meas->dt), // expTime 107 ave->R - meas->dR / 3600., // ra 108 ave->D - meas->dR / 3600., // dec 109 meas->dXccd * meas->pltscale, // estimate of raErr 110 meas->dYccd * meas->pltscale // estimate of decErr 111 ); 100 112 101 113 mysql_query(this->mysql, sql); -
Property svn:mergeinfo
set to (toggle deleted branches)
Note:
See TracChangeset
for help on using the changeset viewer.
