IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 18, 2016, 4:58:00 PM (10 years ago)
Author:
watersc1
Message:

Fix missing ROT_PARITY information by sticking it directly into the FP table of the astrometry model.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/psastro/src/psastroModelAdjust.c

    r39777 r39782  
    2828    }
    2929
     30
     31   
    3032    // if we have not measured the boresite position, no adjustment is needed
    3133    bool fitBoresite = psMetadataLookupBool (&status, recipe, "PSASTRO.MODEL.FIT.BORESITE");
     
    6062    int rotatorParity = psMetadataLookupS32(&status, recipe, "PSASTRO.MODEL.ROT.PARITY");
    6163    if (!status) psAbort ("Can't find recipe option PSASTRO.MODEL.ROT.PARITY");
    62     psMetadataAddS32 (output->fpa->concepts, PS_LIST_TAIL, "FPA.ROT.PARITY", PS_META_REPLACE, "rotator parity parameter", rotatorParity);
     64    psMetadataAddS32 (output->fpa->concepts, PS_LIST_TAIL, "FPA.ROT_PARITY", PS_META_REPLACE, "rotator parity parameter", rotatorParity);
    6365   
    6466    // get reference chip from name
     
    150152
    151153    psMetadata *header = output->fpa->hdu->header;
     154   
    152155    pmAstromWriteBilevelMosaic (header, output->fpa, NONLIN_TOL);
    153156
Note: See TracChangeset for help on using the changeset viewer.