IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2010, 12:30:29 PM (16 years ago)
Author:
Serge CHASTEL
Message:

-version option vs file version taken into account/Field CMF_VERSION added to FITS file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsWrite.c

    r29560 r29565  
    5050    psMetadataAddF32(header, PS_LIST_TAIL, "MAGZPERR", 0, "Error in magnitude zero point", args->zpErr);
    5151    psMetadataAddF32(header, PS_LIST_TAIL, "ASTRORMS", 0, "RMS of astrometric fit", args->rmsAstrom);
     52    //New field in header that tells about the CMF version
     53    char cmfVersion[8];
     54    sprintf(cmfVersion, "PS1_DV%d", args->version);
     55    psMetadataAddStr(header, PS_LIST_TAIL, "CMFVERSION", 0, "CMF version", cmfVersion);
    5256
    5357    if (det->num == 0) {
Note: See TracChangeset for help on using the changeset viewer.