IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 26, 2010, 9:18:39 AM (16 years ago)
Author:
Serge CHASTEL
Message:

Merging trunk in branch

Location:
branches/sc_branches/trunkTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/sc_branches/trunkTest

  • branches/sc_branches/trunkTest/ppSim/src/ppSimCreate.c

    r27989 r29060  
    2626    }
    2727
     28    assert (config->camera);
     29
     30    // int nx = psMetadataLookupS32 (&status, config->arguments, "NX.CELL");
     31    // if (nx) {
     32    //   psMetadata *defaults = psMetadataLookupPtr(&status, config->camera, "DEFAULTS");
     33    //   psMetadataLookupS32 (&status, defaults, "CELL.XSIZE");
     34    //   psAssert (status, "CELL.XSIZE should be in DEFAULTS");
     35    //   psMetadataAddF32(defaults, PS_LIST_TAIL, "CELL.XSIZE", PS_META_REPLACE, "", nx);
     36    // }
     37    // int ny = psMetadataLookupS32 (&status, config->arguments, "NY.CELL");
     38    // if (ny) {
     39    //   psMetadata *defaults = psMetadataLookupPtr(&status, config->camera, "DEFAULTS");
     40    //   psMetadataLookupS32 (&status, defaults, "CELL.YSIZE");
     41    //   psAssert (status, "CELL.YSIZE should be in DEFAULTS");
     42    //   psMetadataAddF32(defaults, PS_LIST_TAIL, "CELL.YSIZE", PS_META_REPLACE, "", ny);
     43    // }
     44
    2845    // generate the fpa structure used by the output camera (determined from INPUT or specified)
    29     assert (config->camera);
    3046    fpa = pmFPAConstruct(config->camera, config->cameraName); // FPA to contain the observation
    3147    if (!fpa) {
Note: See TracChangeset for help on using the changeset viewer.