IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 15, 2009, 9:54:28 AM (17 years ago)
Author:
eugene
Message:

adding new I/O format PS1_V1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20090208/psModules/src/objects/pmSourceIO.c

    r21448 r21488  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.69.12.1 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2009-02-12 04:42:05 $
     5 *  @version $Revision: 1.69.12.2 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2009-02-15 19:54:12 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    493493                status = pmSourcesWrite_PS1_CAL_0 (file->fits, readout, sources, file->header, outhead, dataname);
    494494            }
    495             if (!strcmp (exttype, "CMF_PS1_V1")) {
     495            if (!strcmp (exttype, "PS1_V1")) {
    496496                status = pmSourcesWrite_CMF_PS1_V1 (file->fits, readout, sources, file->header, outhead, dataname);
    497497            }
     
    503503                  status = pmSourcesWrite_PS1_CAL_0_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
    504504              }
    505               if (!strcmp (exttype, "CMF_PS1_V1")) {
     505              if (!strcmp (exttype, "PS1_V1")) {
    506506                  status = pmSourcesWrite_CMF_PS1_V1_XSRC (file->fits, sources, xsrcname, recipe);
    507507              }
     
    514514                  status = pmSourcesWrite_PS1_CAL_0_XFIT (file->fits, readout, sources, file->header, xfitname);
    515515              }
    516               if (!strcmp (exttype, "CMF_PS1_V1")) {
     516              if (!strcmp (exttype, "PS1_V1")) {
    517517                  status = pmSourcesWrite_CMF_PS1_V1_XFIT (file->fits, sources, xfitname);
    518518              }
     
    938938                sources = pmSourcesRead_PS1_DEV_1 (file->fits, hdu->header);
    939939            }
    940             if (!strcmp (exttype, "PS1_CAL_0")) {
    941                 sources = pmSourcesRead_PS1_CAL_0 (file->fits, hdu->header);
     940            if (!strcmp (exttype, "PS1_V1")) {
     941                sources = pmSourcesRead_CMF_PS1_V1 (file->fits, hdu->header);
    942942            }
    943943        }
Note: See TracChangeset for help on using the changeset viewer.