- Timestamp:
- Sep 14, 2012, 6:10:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/pswarp/src/pswarpArguments.c
r34411 r34442 170 170 psWarning("BACKGROUND.MODEL is not set in the %s recipe -- defaulting to FALSE.", PSWARP_RECIPE); 171 171 } 172 int bkgXgrid = psMetadataLookup Bool(&status,recipe, "BKG.XGRID"); ///< Xsize of background model172 int bkgXgrid = psMetadataLookupS32(&status,recipe, "BKG.XGRID"); ///< Xsize of background model 173 173 if (!status) { 174 174 bkgXgrid = 10; 175 175 psWarning("BKG.XGRID is not set in the %s recipe -- defaultint to %d.",PSWARP_RECIPE,bkgXgrid); 176 176 } 177 int bkgYgrid = psMetadataLookup Bool(&status,recipe, "BKG.YGRID"); ///< Xsize of background model177 int bkgYgrid = psMetadataLookupS32(&status,recipe, "BKG.YGRID"); ///< Xsize of background model 178 178 if (!status) { 179 179 bkgYgrid = 10; 180 180 psWarning("BKG.YGRID is not set in the %s recipe -- defaultint to %d.",PSWARP_RECIPE,bkgYgrid); 181 181 } 182 182 183 183 184 184 // Set recipe values in the recipe (since we've possibly altered some)
Note:
See TracChangeset
for help on using the changeset viewer.
