IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2008, 12:38:15 PM (18 years ago)
Author:
Paul Price
Message:

The FPA format in psastroDataSave was bad: the GPC1 inputs (which is used for the output) had HDUs in the chips, but the output format is supposed to have an HDU in the FPA. It comes down to a pmFPAfileSuitableFPA not being called at the right place. To fix this, I've sprinkled calls to pmFPAfileSuitableFPA in all the FITS writing functions. This provides the HDU in the right place to these functions. pmFPAfileSuitableFPA should now automatically take care of header conformity, updating concepts, etc. Now, if adding a function to write FITS data, you should make sure that you call pmFPAfileSuitableFPA to get the right format, HDU, header keywords, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryModel.h

    r17034 r18601  
    44 * @author EAM, IfA
    55 *
    6  * @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2008-03-18 18:24:29 $
     6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-07-17 22:38:15 $
    88 * Copyright 2006 Institute for Astronomy, University of Hawaii
    99 */
     
    1919bool pmAstromModelCheckDataStatusForChip (const pmChip *chip);
    2020
    21 bool pmAstromModelWriteForView (const pmFPAview *view, pmFPAfile *file, const pmConfig *config);
    22 bool pmAstromModelWriteFPA (pmFPAfile *file);
    23 bool pmAstromModelWritePHU (pmFPAfile *file);
     21bool pmAstromModelWriteForView (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
     22bool pmAstromModelWriteFPA (pmFPAfile *file, const pmFPA *fpa);
     23bool pmAstromModelWritePHU (pmFPAfile *file, const pmFPA *fpa);
    2424bool pmAstromModelWriteSky (pmFPAfile *file);
    2525bool pmAstromModelWriteTP (pmFPAfile *file);
Note: See TracChangeset for help on using the changeset viewer.