- Timestamp:
- Sep 15, 2009, 4:02:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ppImage/src/ppImageOptions.c
r25022 r25406 21 21 options->doMaskSat = false; // mask saturated pixels 22 22 options->doMaskLow = false; // mask low pixels 23 options->doMaskBurntool = false; // mask potential burntool trails 23 24 options->doVarianceBuild = false; // Build internal variance 24 25 options->doMask = false; // Mask bad pixels … … 64 65 options->blankMask = 0x00; // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic) 65 66 options->markValue = 0x00; // A safe bit for internal marking 66 67 options->burntoolMask = 0x00; // Suspect pixels that fall where a burntool trail is expected. 68 options->burntoolTrails = 0x07; // Which types of burntool areas to mask. 67 69 // crosstalk options 68 70 options->doCrosstalkMeasure = false; // measure crosstalk … … 219 221 options->doMaskSat = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED"); 220 222 options->doMaskLow = psMetadataLookupBool(NULL, recipe, "MASK.LOW"); 223 options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL"); 221 224 options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD"); 222 225 … … 245 248 options->applyParity = psMetadataLookupBool(NULL, recipe, "APPLY.CELL.PARITY"); 246 249 250 options->burntoolTrails = psMetadataLookupS32(&status, recipe, "BURNTOOL.TRAILS"); 251 fprintf(stderr,"TRAILS: %d %d %d\n",options->burntoolTrails,psMetadataLookupS32(&status,recipe,"BURNTOOL.TRAILS"),status); 252 if (!status) { 253 psWarning("BURNTOOL.TRAILS not found in recipe: setting to default value.\n"); 254 } 255 247 256 // binned image options 248 257 options->xBin1 = psMetadataLookupS32(&status, recipe, "BIN1.XBIN"); 249 258 if (!status) { 250 259 psWarning("BIN1.XBIN not found in recipe: setting to default value.\n"); 260 options->xBin1 = 4; 251 261 } 252 262 options->yBin1 = psMetadataLookupS32(&status, recipe, "BIN1.YBIN"); 253 263 if (!status) { 254 264 psWarning("BIN1.YBIN not found in recipe: setting to default value.\n"); 255 options->yBin1 = 16;265 options->yBin1 = 4; 256 266 } 257 267
Note:
See TracChangeset
for help on using the changeset viewer.
