Changeset 41367 for trunk/psastro/src/psastroZeroPoint.c
- Timestamp:
- May 27, 2020, 2:21:31 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroZeroPoint.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroZeroPoint.c
r37552 r41367 55 55 56 56 // really error-out here? or just skip? 57 if (!psastroZeroPointFromRecipe (&zeropt, &exptime, NULL, fpa, recipe)) {57 if (!psastroZeroPointFromRecipe (&zeropt, &exptime, NULL, NULL, fpa, recipe)) { 58 58 psLogMsg ("psastro", PS_LOG_INFO, "failed to load zeropt data from recipe"); 59 59 return false; … … 480 480 return false; } 481 481 482 bool psastroZeroPointFromRecipe (float *zeropt, float *exptime, float *ghostMaxMag, pmFPA *fpa, psMetadata *recipe) {482 bool psastroZeroPointFromRecipe (float *zeropt, float *exptime, float *ghostMaxMag, double *glintMaxMag, pmFPA *fpa, psMetadata *recipe) { 483 483 484 484 bool status; … … 527 527 //MEH null is a pain.. so only log if set 528 528 psLogMsg ("psastro", PS_LOG_INFO, "found GHOST_MAX_MAG %f",*ghostMaxMag); 529 } 530 if (glintMaxMag) { 531 float MaxMag = psMetadataLookupF32 (&status, refItem->data.md, "GLINT_MAX_MAG"); 532 if (status) { 533 *glintMaxMag = MaxMag ; 534 //MEH null is a pain.. so only log if set 535 psLogMsg ("psastro", PS_LOG_INFO, "found GLINT_MAX_MAG %f",*glintMaxMag); 536 } 529 537 } 530 538 //MEH what zpt is set to
Note:
See TracChangeset
for help on using the changeset viewer.
