Changeset 40552
- Timestamp:
- Oct 20, 2018, 9:10:12 PM (8 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 2 edited
-
psastroLoadGhosts.c (modified) (2 diffs)
-
psastroLoadGlints.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadGhosts.c
r40490 r40552 278 278 float zeropt, exptime, MAX_MAG; 279 279 psMetadata *ghostModel = NULL; 280 psVector *C_terms ;281 psVector *R_terms ;282 float glintPixelScale ;280 psVector *C_terms = NULL; 281 psVector *R_terms = NULL; 282 float glintPixelScale = 0.0; 283 283 284 284 psLogMsg ("psastro", PS_LOG_INFO, "determine ghost positions"); … … 341 341 R_terms = psMetadataLookupPtr(&status, refItem->data.md, "R_TERMS"); 342 342 glintPixelScale = psMetadataLookupF32(&status, refItem->data.md, "SCALE"); 343 } 344 345 // really error-out here? or just skip? 346 if (!R_terms) { 347 psLogMsg ("psastro", PS_LOG_INFO, "failed to find HSC ghost model for filter %s", filter); 348 goto escape; 343 349 } 344 350 -
trunk/psastro/src/psastroLoadGlints.c
r40490 r40552 313 313 // star->FP->x,star->FP->y,star->Mag); 314 314 star->TP->x,star->TP->y,star->Mag); 315 psVector *C_terms ;316 psVector *R_terms ;315 psVector *C_terms = NULL; 316 psVector *R_terms = NULL; 317 317 double scale_factor = 1.0; 318 318
Note:
See TracChangeset
for help on using the changeset viewer.
