IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2010, 10:06:54 AM (16 years ago)
Author:
bills
Message:

remove noWriteFitsKeys before translating them. This fixes a problem where streaksremove
wrote raw stage files that funpack could not process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsHeader.c

    r25087 r27448  
    570570            // to preserve NAXISn etc for reference, so we don't do this.
    571571
     572            if (keywordInList(name, noWriteFitsKeys) ||
     573                (keyStarts && keywordStartsWith(name, noWriteFitsKeyStarts))) {
     574                psTrace("psLib.fits", 3, "Not writing FITS keyword %s", name);
     575                continue;
     576            }
     577
    572578            // Options for compression
    573579            if (compressing) {
     
    582588            } else if (keywordInList(name, noWriteCompressedKeys) ||
    583589                       (keyStarts && keywordStartsWith(name, noWriteCompressedKeyStarts))) {
    584                 psTrace("psLib.fits", 3, "Not writing FITS keyword %s", name);
    585                 continue;
    586             }
    587 
    588             if (keywordInList(name, noWriteFitsKeys) ||
    589                 (keyStarts && keywordStartsWith(name, noWriteFitsKeyStarts))) {
    590590                psTrace("psLib.fits", 3, "Not writing FITS keyword %s", name);
    591591                continue;
Note: See TracChangeset for help on using the changeset viewer.