IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2007, 12:03:21 PM (19 years ago)
Author:
magnier
Message:

added pmConceptsReadCell to pmSourceReadCell; modified pmSourceWrite_ APIs for CMF formats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_PS1_DEV_0.c

    r12445 r12481  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-03-15 20:44:25 $
     5 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-03-18 22:03:21 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040// XXX how do I generate the source tables which I need to send to PSPS?
    4141
    42 bool pmSourcesWrite_PS1_DEV_0 (psFits *fits, psArray *sources, psMetadata *header, char *extname)
     42bool pmSourcesWrite_PS1_DEV_0 (psFits *fits, psArray *sources, psMetadata *imageHeader, psMetadata *tableHeader, char *extname)
    4343{
    4444
     
    107107
    108108    if (table->n == 0) {
    109         psFitsWriteBlank (fits, header, extname);
     109        psFitsWriteBlank (fits, tableHeader, extname);
    110110        psFree (table);
    111111        return true;
     
    113113
    114114    psTrace ("pmFPAfile", 5, "writing ext data %s\n", extname);
    115     if (!psFitsWriteTable (fits, header, table, extname)) {
     115    if (!psFitsWriteTable (fits, tableHeader, table, extname)) {
    116116        psError(PS_ERR_IO, false, "writing ext data %s\n", extname);
    117117        psFree(table);
Note: See TracChangeset for help on using the changeset viewer.