Changeset 20826 for trunk/psModules/src/objects/pmSourceIO.c
- Timestamp:
- Nov 24, 2008, 3:27:52 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO.c
r20741 r20826 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.6 7$ $Name: not supported by cvs2svn $6 * @date $Date: 2008-11- 14 02:11:45$5 * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-11-25 01:27:52 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 440 440 } 441 441 } 442 443 442 if (numCols == 0 || numRows == 0) { 444 443 psWarning("Output source file has invalid IMNAXIS1, IMNAXIS2."); 445 444 } 445 psMetadataAddS32(hdu->header, PS_LIST_TAIL, "IMNAXIS1", PS_META_REPLACE, 446 "Number of columns in original image", numCols); 447 psMetadataAddS32(hdu->header, PS_LIST_TAIL, "IMNAXIS2", PS_META_REPLACE, 448 "Number of rows in original image", numRows); 446 449 447 450 psFitsWriteBlank (file->fits, hdu->header, headname); … … 490 493 if (xsrcname) { 491 494 if (!strcmp (exttype, "PS1_DEV_1")) { 492 status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);495 status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe); 493 496 } 494 497 if (!strcmp (exttype, "PS1_CAL_0")) { 495 status = pmSourcesWrite_PS1_CAL_0_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);498 status = pmSourcesWrite_PS1_CAL_0_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe); 496 499 } 497 500 } 498 501 if (xfitname) { 499 502 if (!strcmp (exttype, "PS1_DEV_1")) { 500 status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname);503 status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname); 501 504 } 502 505 if (!strcmp (exttype, "PS1_CAL_0")) { 503 status = pmSourcesWrite_PS1_CAL_0_XFIT (file->fits, readout, sources, file->header, xfitname);506 status = pmSourcesWrite_PS1_CAL_0_XFIT (file->fits, readout, sources, file->header, xfitname); 504 507 } 505 508 }
Note:
See TracChangeset
for help on using the changeset viewer.
