IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2007, 3:09:20 PM (19 years ago)
Author:
eugene
Message:

updating all changes from from eam_branch_20071023

File:
1 edited

Legend:

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

    r14938 r15562  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-09-21 00:09:05 $
     5 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-11-10 01:09:20 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4848bool pmSourcesWriteCMP (psArray *sources, char *filename, psMetadata *header)
    4949{
     50    PS_ASSERT_PTR_NON_NULL(sources, false);
     51    PS_ASSERT_PTR_NON_NULL(filename, false);
     52    PS_ASSERT_PTR_NON_NULL(header, false);
    5053
    5154    int i, type;
     
    5861    // find config information for output header
    5962    float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");
    60     if (!status)
     63    if (!status) {
    6164        ZERO_POINT = 25.0;
     65    }
    6266
    6367    // MEF elements have XTENSION, not SIMPLE: remove this (replace with SIMPLE)
    6468    psMetadataLookupStr (&status, header, "XTENSION");
    65     if (status)
     69    if (status) {
    6670        psMetadataRemoveKey (header, "XTENSION");
     71    }
    6772
    6873    // create file, write-out header
     
    148153psArray *pmSourcesReadCMP (char *filename, psMetadata *header)
    149154{
     155    PS_ASSERT_PTR_NON_NULL(filename, false);
     156    PS_ASSERT_PTR_NON_NULL(header, false);
    150157
    151158    bool status;
Note: See TracChangeset for help on using the changeset viewer.