IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 8, 2013, 10:41:29 AM (13 years ago)
Author:
bills
Message:

implement creation of CFF files from sources. some tweaks to reading of cffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/pmSourceIO.c

    r36215 r36270  
    645645        return false;
    646646
     647      case PM_FPA_FILE_CFF: {
     648        hdu = pmFPAviewThisHDU (view, fpa);
     649        pmConfigConformHeader(hdu->header, file->format);
     650        psFitsWriteBlank (file->fits, hdu->header, NULL);
     651        file->header = hdu->header;
     652        file->wrote_phu = true;
     653        if (!pmSourcesWrite_CFF(file->fits, sources, hdu->header, recipe)) {
     654            psError(PS_ERR_UNKNOWN, false, "failed to write CFF");
     655            return false;
     656        }
     657        break;
     658      }
     659       
    647660      default:
    648661        fprintf (stderr, "warning: type mismatch\n");
Note: See TracChangeset for help on using the changeset viewer.