IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 7, 2008, 10:55:21 AM (18 years ago)
Author:
eugene
Message:

fix errors with star density normalizations and flux consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimCreate.c

    r14667 r17557  
    1818    pmFPAfile *input = pmFPAfileDefineFromArgs (&status, config, "PPIMAGE.INPUT", "INPUT");
    1919    if (!input) {
     20        // if we have not specified the camera already, we need to interpolate the recipes associated with this camera, and read other command-line recipes
     21        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CL)) {
     22            psError(PS_ERR_IO, false, "Error merging recipes from camera config for %s", config->cameraName);
     23            return NULL;
     24        }
     25
    2026        simImage = true;
    2127        fpa = pmFPAConstruct(config->camera); // FPA to contain the observation
     
    2430            return NULL;
    2531        }
     32       
    2633    } else {
    2734        simImage = false;
     
    3340    }
    3441
     42    // define the output image file
    3543    pmFPAfile *file = pmFPAfileDefineOutput(config, fpa, OUTPUT_FILE);
    3644    if (!file) {
Note: See TracChangeset for help on using the changeset viewer.