IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2010, 4:11:53 PM (16 years ago)
Author:
eugene
Message:

merge changes from branches/eam_branches/psphot,psModules.20100506 (finish basic psphotStack)

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/objects/pmSourceIO.c

    r27818 r28013  
    539539                status &= pmSourcesWrite_CMF_PS1_V2 (file->fits, readout, sources, file->header, outhead, dataname);
    540540            }
     541            if (!strcmp (exttype, "PS1_SV1")) {
     542                status &= pmSourcesWrite_CMF_PS1_SV1 (file->fits, readout, sources, file->header, outhead, dataname, recipe);
     543            }
    541544            if (!strcmp (exttype, "PS1_DV1")) {
    542545                status &= pmSourcesWrite_CMF_PS1_DV1 (file->fits, readout, sources, file->header, outhead, dataname);
     
    556559                    status &= pmSourcesWrite_CMF_PS1_V2_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
    557560                }
     561                if (!strcmp (exttype, "PS1_SV1")) {
     562                    status &= pmSourcesWrite_CMF_PS1_SV1_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
     563                }
    558564                if (!strcmp (exttype, "PS1_DV1")) {
    559565                    status &= pmSourcesWrite_CMF_PS1_DV1_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
     
    573579                    status &= pmSourcesWrite_CMF_PS1_V2_XFIT (file->fits, readout, sources, xfitname);
    574580                }
     581                if (!strcmp (exttype, "PS1_SV1")) {
     582                    status &= pmSourcesWrite_CMF_PS1_SV1_XFIT (file->fits, readout, sources, xfitname);
     583                }
    575584                if (!strcmp (exttype, "PS1_DV1")) {
    576585                    status &= pmSourcesWrite_CMF_PS1_DV1_XFIT (file->fits, readout, sources, xfitname);
     
    981990        // we need to find the corresponding table EXTNAME.
    982991        // first check the header
    983         char *extdata = psMetadataLookupStr (NULL, hdu->header, "EXTDATA");
     992        char *extdata = psMetadataLookupStr (&status, hdu->header, "EXTDATA");
    984993        if (extdata) {
    985994            // if EXTDATA is defined in the header, use that value for 'dataname'
     
    10231032            if (!strcmp (exttype, "PS1_V2")) {
    10241033                sources = pmSourcesRead_CMF_PS1_V2 (file->fits, hdu->header);
     1034            }
     1035            if (!strcmp (exttype, "PS1_SV1")) {
     1036                sources = pmSourcesRead_CMF_PS1_SV1 (file->fits, hdu->header);
    10251037            }
    10261038            if (!strcmp (exttype, "PS1_DV1")) {
Note: See TracChangeset for help on using the changeset viewer.