IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2008, 5:10:51 PM (18 years ago)
Author:
Paul Price
Message:

Merging pap_branch_080117 into the mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfile.c

    r15929 r16186  
    7474  file->fits = NULL;
    7575  file->compression = NULL;
    76   file->bitpix = 0;
    77   file->floatType = PS_FITS_FLOAT_NONE;
     76  file->options = NULL;
    7877  file->names = psMetadataAlloc();
    7978
     
    192191      char *name = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME");
    193192      if (name != NULL) {
    194         psStringSubstitute(&newName, name, "{CHIP.NAME}");
     193        psStringSubstitute(&newName, name, "{CHIP.NAME}");
    195194      }
    196195    }
     
    201200      char *name = psMetadataLookupStr (NULL, chip->concepts, "CHIP.ID");
    202201      if (name != NULL) {
    203         psStringSubstitute(&newName, name, "{CHIP.ID}");
     202        psStringSubstitute(&newName, name, "{CHIP.ID}");
    204203      }
    205204    }
     
    220219      char *name = psMetadataLookupStr (NULL, cell->concepts, "CELL.NAME");
    221220      if (name != NULL) {
    222         psStringSubstitute(&newName, name, "{CELL.NAME}");
     221        psStringSubstitute(&newName, name, "{CELL.NAME}");
    223222      }
    224223    }
     
    243242      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.FILTER");
    244243      if (name && *name) {
    245         psStringSubstitute(&newName, name, "{FILTER}");
     244        psStringSubstitute(&newName, name, "{FILTER}");
    246245      }
    247246    }
     
    251250      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.FILTERID");
    252251      if (name && *name) {
    253         psStringSubstitute(&newName, name, "{FILTER.ID}");
     252        psStringSubstitute(&newName, name, "{FILTER.ID}");
    254253      }
    255254    }
     
    259258      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.INSTRUMENT");
    260259      if (name && *name) {
    261         psStringSubstitute(&newName, name, "{CAMERA}");
     260        psStringSubstitute(&newName, name, "{CAMERA}");
    262261      }
    263262    }
     
    267266      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.INSTRUMENT");
    268267      if (name && *name) {
    269         psStringSubstitute(&newName, name, "{INSTRUMENT}");
     268        psStringSubstitute(&newName, name, "{INSTRUMENT}");
    270269      }
    271270    }
     
    275274      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.DETECTOR");
    276275      if (name && *name) {
    277         psStringSubstitute(&newName, name, "{DETECTOR}");
     276        psStringSubstitute(&newName, name, "{DETECTOR}");
    278277      }
    279278    }
     
    283282      char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.TELESCOPE");
    284283      if (name && *name) {
    285         psStringSubstitute(&newName, name, "{TELESCOPE}");
     284        psStringSubstitute(&newName, name, "{TELESCOPE}");
    286285      }
    287286    }
     
    340339  if (view->cell >= inChip->cells->n) {
    341340    psError(PS_ERR_IO, true, "Requested cell == %d>= inChip->cells->n == %ld",
    342             view->cell, inChip->cells->n);
     341            view->cell, inChip->cells->n);
    343342    return false;
    344343  }
     
    387386  if (view->cell >= inChip->cells->n) {
    388387    psError(PS_ERR_IO, true, "Requested cell == %d>= inChip->cells->n == %ld",
    389             view->cell, inChip->cells->n);
     388            view->cell, inChip->cells->n);
    390389    return false;
    391390  }
Note: See TracChangeset for help on using the changeset viewer.