IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2008, 2:04:28 PM (18 years ago)
Author:
bills
Message:

optionally save configuration to a file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroParseCamera.c

    r15121 r19557  
    3333    psFree (chips);
    3434
     35    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
     36    if (dump_file) {
     37        pmConfigCamerasCull(config, NULL);
     38        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
     39
     40        pmConfigDump(config, input->fpa, dump_file);
     41    }
     42
     43
    3544    psTrace("psastro", 1, "Done with psastroParseCamera...\n");
    3645    return true;
Note: See TracChangeset for help on using the changeset viewer.