- Timestamp:
- May 9, 2013, 10:00:41 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpOptions.c
r35535 r35539 70 70 } 71 71 72 bool doBKG = psMetadataLookupBool(&status,recipe, "BACKGROUND.MODEL"); ///< Generate the warped background model? 72 // BACKGROUND.MODEL gets set in config->arguments (to false) if no input model is found 73 bool doBKG = psMetadataLookupBool(&status,config->arguments, "BACKGROUND.MODEL"); ///< Generate the warped background model? 73 74 if (!status) { 74 doBKG = false; 75 // if it is not in config->arguments, look in recipe 76 doBKG = psMetadataLookupBool(&status,recipe, "BACKGROUND.MODEL"); ///< Generate the warped background model? 77 if (!status) { 78 doBKG = false; 75 79 psWarning("BACKGROUND.MODEL is not set in the %s recipe -- defaulting to FALSE.", PSWARP_RECIPE); 80 } 76 81 } 82 77 83 int bkgXgrid = psMetadataLookupS32(&status,recipe, "BKG.XGRID"); ///< Xsize of background model 78 84 if (!status) {
Note:
See TracChangeset
for help on using the changeset viewer.
