IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2012, 4:02:25 PM (14 years ago)
Author:
watersc1
Message:

Add reference catalog to output headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDataSave.c

    r27065 r33669  
    7272                if (hdu && hdu != lastHDU) {
    7373                    psastroVersionHeaderFull(hdu->header);
     74                    // Append teh reference catalog to the header as well.
     75                    psMetadata *recipe = psMetadataLookupPtr(NULL, config->recipes, PSASTRO_RECIPE);
     76                    psMetadataAddStr(hdu->header,PS_LIST_TAIL,"PSREFCAT",PS_META_REPLACE,NULL,
     77                                     psMetadataLookupStr(NULL,recipe,"PSASTRO.CATDIR"));
    7478                    lastHDU = hdu;
    7579                }
Note: See TracChangeset for help on using the changeset viewer.