IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2005, 3:30:32 PM (21 years ago)
Author:
Paul Price
Message:

Working with release 8. Overscan, bias, flat-fielding all working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/scripts/src/phase2/pmFPAConstruct.c

    r5371 r5462  
    3737    psMetadataItem *item = NULL;        // Item from iteration
    3838    while (item = psMetadataGetAndIncrement(iter)) {
    39         if (item->type == PS_META_MULTI || item->type == PS_META_META) {
    40             psLogMsg(__func__, PS_LOG_WARN, "PS_META_MULTI and PS_META_META are not supported in a cell "
    41                      "definition --- %s ignored.\n", item->name);
     39        if (item->type == PS_DATA_METADATA_MULTI || item->type == PS_DATA_METADATA) {
     40            psLogMsg(__func__, PS_LOG_WARN, "PS_DATA_METADATA_MULTI and PS_DATA_METADATA are not supported "
     41                     "in a cell definition --- %s ignored.\n", item->name);
    4242            continue;
    4343        }
     
    8989                pmChip *chip = pmChipAlloc(fpa, extName); // The chip
    9090                chip->data = pmPixelDataAlloc(extName); // Prepare chip to receive FITS data
    91                 if (contentItem->type != PS_META_STR) {
     91                if (contentItem->type != PS_DATA_STRING) {
    9292                    psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n",
    9393                             contentItem->type);
     
    117117                psTrace(__func__, 1, "Getting %s....\n", extName);
    118118
    119                 if (contentItem->type != PS_META_STR) {
     119                if (contentItem->type != PS_DATA_STRING) {
    120120                    psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n",
    121121                             contentItem->type);
     
    136136                    if (! chipItem) {
    137137                        chip = pmChipAlloc(fpa, chipName);
    138                         psMetadataAdd(chips, PS_LIST_TAIL, chipName, PS_META_CHIP, "", chip);
     138                        psMetadataAdd(chips, PS_LIST_TAIL, chipName, PS_DATA_UNKNOWN, "", chip);
    139139                    } else {
    140140                        chip = psMemIncrRefCounter(chipItem->data.V);
     
    161161                psString chipName = contentItem->name; // The name of the chip
    162162
    163                 if (contentItem->type != PS_META_STR) {
     163                if (contentItem->type != PS_DATA_STRING) {
    164164                    psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n",
    165165                             contentItem->type);
     
    234234                psString extName = contentItem->name; // The name of the extension
    235235                // Content is a cell type
    236                 if (contentItem->type != PS_META_STR) {
     236                if (contentItem->type != PS_DATA_STRING) {
    237237                    psLogMsg(__func__, PS_LOG_WARN,
    238238                             "CONTENT metadata for extension %s is not of type string, but %x --- ignored\n",
Note: See TracChangeset for help on using the changeset viewer.