IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2013, 10:57:50 AM (13 years ago)
Author:
bills
Message:

add argument to ppstamp to take a metadata config file with keywords to
add to the image fits headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/ppstampMakeStamp.c

    r35611 r35893  
    165165
    166166    ppstampVersionMetadata(outHDU->header, options);
     167
     168    // copy any user supplied keywords
     169    if (options->headerAdditions) {
     170        if (!psMetadataOverlay(outHDU->header, options->headerAdditions)) {
     171            psError(PS_ERR_UNKNOWN, false, "Failed to copy header additions to output\n");
     172            return false;
     173        }
     174    }
     175
    167176
    168177    return true;
Note: See TracChangeset for help on using the changeset viewer.