Changeset 23314
- Timestamp:
- Mar 12, 2009, 7:19:10 PM (17 years ago)
- Location:
- trunk/pswarp/src
- Files:
-
- 2 edited
-
pswarpArguments.c (modified) (1 diff)
-
pswarpLoop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpArguments.c
r23293 r23314 199 199 psTrace("pswarp", 1, "Done with pswarpArguments...\n"); 200 200 201 // Dump configuration, now that's it's settled202 psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");203 if (dump_file) {204 const char *skyCamera = psMetadataLookupStr(NULL, config->arguments,205 "SKYCELL.CAMERA"); ///< Name of camera for skycell206 pmConfigCamerasCull(config, skyCamera);207 pmConfigRecipesCull(config, "PSWARP,PPSTATS,PSPHOT,MASKS,JPEG");208 209 pmFPAfile *input = psMetadataLookupPtr(NULL, config->files, "PSWARP.INPUT"); // Input file210 pmConfigDump(config, input->fpa, dump_file);211 }212 213 201 return (config); 214 202 } -
trunk/pswarp/src/pswarpLoop.c
r23293 r23314 76 76 bool status; 77 77 78 const char *skyCamera = psMetadataLookupStr(NULL, config->arguments, 79 "SKYCELL.CAMERA"); ///< Name of camera for skycell 80 pmConfigCamerasCull(config, skyCamera); 81 pmConfigRecipesCull(config, "PSWARP,PPSTATS,PSPHOT,MASKS,JPEG"); 82 83 78 84 // load the recipe 79 85 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSWARP_RECIPE); … … 462 468 } 463 469 470 // Dump configuration 471 psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG"); 472 if (dump_file) { 473 pmFPAfile *input = psMetadataLookupPtr(NULL, config->files, "PSWARP.INPUT"); // Input file 474 pmConfigDump(config, input->fpa, dump_file); 475 } 476 464 477 return true; 465 478 }
Note:
See TracChangeset
for help on using the changeset viewer.
