IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2009, 2:18:26 PM (17 years ago)
Author:
eugene
Message:

revert CMF_PS1_V1 format to float for RA,DEC; add new format CMF_PS1_V2 with double RA,DEC in appropriate location for byte boundaries (matches Ohana libautocode cmf-ps1-v2.d)

File:
1 edited

Legend:

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

    r23990 r24401  
    496496                status = pmSourcesWrite_CMF_PS1_V1 (file->fits, readout, sources, file->header, outhead, dataname);
    497497            }
     498            if (!strcmp (exttype, "PS1_V2")) {
     499                status = pmSourcesWrite_CMF_PS1_V2 (file->fits, readout, sources, file->header, outhead, dataname);
     500            }
    498501            if (xsrcname) {
    499502              if (!strcmp (exttype, "PS1_DEV_1")) {
     
    506509                  status = pmSourcesWrite_CMF_PS1_V1_XSRC (file->fits, sources, xsrcname, recipe);
    507510              }
     511              if (!strcmp (exttype, "PS1_V2")) {
     512                  status = pmSourcesWrite_CMF_PS1_V2_XSRC (file->fits, sources, xsrcname, recipe);
     513              }
    508514            }
    509515            if (xfitname) {
     
    517523                  status = pmSourcesWrite_CMF_PS1_V1_XFIT (file->fits, sources, xfitname);
    518524              }
     525              if (!strcmp (exttype, "PS1_V2")) {
     526                  status = pmSourcesWrite_CMF_PS1_V2_XFIT (file->fits, sources, xfitname);
     527              }
    519528            }
    520529            if (!status) {
     
    944953                sources = pmSourcesRead_CMF_PS1_V1 (file->fits, hdu->header);
    945954            }
     955            if (!strcmp (exttype, "PS1_V2")) {
     956                sources = pmSourcesRead_CMF_PS1_V2 (file->fits, hdu->header);
     957            }
    946958        }
    947959
Note: See TracChangeset for help on using the changeset viewer.