IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2007, 2:42:10 PM (19 years ago)
Author:
Paul Price
Message:

Ensuring CELL.READDIR is set for skycells --- otherwise, won't be able to write an HDU!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigCamera.c

    r13714 r13857  
    198198        while ((name = psListGetAndIncrement(iter))) {
    199199            // We've done CELL.BIASSEC and CELL.TRIMSEC under CELLS, above.
    200             if (strcmp(name, "CELL.BIASSEC") != 0 && strcmp(name, "CELL.TRIMSEC") != 0) {
     200            // CELL.READDIR is set to 1 (rows) in the defaults
     201            if (strcmp(name, "CELL.BIASSEC") != 0 && strcmp(name, "CELL.TRIMSEC") != 0 &&
     202                strcmp(name, "CELL.READDIR") != 0) {
    201203                psMetadataAddStr(translation, PS_LIST_TAIL, name, 0, NULL, name);
    202204            }
     
    212214    {
    213215        psMetadata *defaults = psMetadataAlloc(); // Default values for concepts
     216        psMetadataAddS32(defaults, PS_LIST_TAIL, "CELL.READDIR", 0, "Read direction (rows)", 1);
    214217        psMetadataAddMetadata(format, PS_LIST_TAIL, "DEFAULTS", 0, "Default values for concepts", defaults);
    215218        psFree(defaults);
Note: See TracChangeset for help on using the changeset viewer.