Changeset 40552 for trunk/psastro/src/psastroLoadGhosts.c
- Timestamp:
- Oct 20, 2018, 9:10:12 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadGhosts.c (modified) (2 diffs)
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
Note:
See TracChangeset
for help on using the changeset viewer.
