IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19043


Ignore:
Timestamp:
Aug 12, 2008, 4:33:08 PM (18 years ago)
Author:
Paul Price
Message:

Don't cull the camera used for the skycell!

Location:
trunk/pswarp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpArguments.c

    r18924 r19043  
    167167    // Dump configuration, now that's it's settled
    168168    {
    169         pmConfigCamerasCull(config);
     169        const char *skyCamera = psMetadataLookupStr(NULL, config->arguments,
     170                                                    "SKYCELL.CAMERA");  // Name of camera for skycell
     171        pmConfigCamerasCull(config, skyCamera);
    170172        pmConfigRecipesCull(config, "PSWARP,PPSTATS,PSPHOT,MASKS");
    171173
  • trunk/pswarp/src/pswarpDefineSkycell.c

    r19041 r19043  
    8080    }
    8181
     82    // Record the camera name of the skycell, so we can save its configuration
     83    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "SKYCELL.CAMERA", 0, "Name of camera for skycell",
     84                     skyConfig->cameraName);
     85
    8286    // build the template fpa, set up the basic view
    8387    fpa = pmFPAConstruct (skyConfig->camera, skyConfig->cameraName);
Note: See TracChangeset for help on using the changeset viewer.