IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 13, 2008, 4:11:45 PM (17 years ago)
Author:
eugene
Message:

adding PS1_CAL_0 output format

File:
1 edited

Legend:

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

    r19875 r20741  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2008-10-03 02:11:48 $
     5 *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2008-11-14 02:11:45 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    485485                status = pmSourcesWrite_PS1_DEV_1 (file->fits, sources, file->header, outhead, dataname, xsrcname);
    486486            }
     487            if (!strcmp (exttype, "PS1_CAL_0")) {
     488                status = pmSourcesWrite_PS1_CAL_0 (file->fits, readout, sources, file->header, outhead, dataname, xsrcname);
     489            }
    487490            if (xsrcname) {
    488491              if (!strcmp (exttype, "PS1_DEV_1")) {
    489                 status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);
     492                  status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);
     493              }
     494              if (!strcmp (exttype, "PS1_CAL_0")) {
     495                  status = pmSourcesWrite_PS1_CAL_0_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
    490496              }
    491497            }
    492498            if (xfitname) {
    493499              if (!strcmp (exttype, "PS1_DEV_1")) {
    494                 status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname);
     500                  status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname);
     501              }
     502              if (!strcmp (exttype, "PS1_CAL_0")) {
     503                  status = pmSourcesWrite_PS1_CAL_0_XFIT (file->fits, readout, sources, file->header, xfitname);
    495504              }
    496505            }
     
    915924                sources = pmSourcesRead_PS1_DEV_1 (file->fits, hdu->header);
    916925            }
     926            if (!strcmp (exttype, "PS1_CAL_)")) {
     927                sources = pmSourcesRead_PS1_CAL_0 (file->fits, hdu->header);
     928            }
    917929        }
    918930
Note: See TracChangeset for help on using the changeset viewer.