Changeset 20816 for trunk/magic/remove/src/warpedpixels.c
- Timestamp:
- Nov 21, 2008, 1:33:36 PM (17 years ago)
- Location:
- trunk/magic/remove/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
warpedpixels.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src
- Property svn:ignore
-
old new 1 1 streaksremove 2 streaksreplace 3 streakscompare
-
- Property svn:ignore
-
trunk/magic/remove/src/warpedpixels.c
r20778 r20816 57 57 if (!fits) { 58 58 psError(PS_ERR_IO, false, "failed to open skycell file: %s", fileName); 59 streaks removeExit("", PS_EXIT_DATA_ERROR);59 streaksExit("", PS_EXIT_DATA_ERROR); 60 60 } 61 61 psMetadata *header = psFitsReadHeader(NULL, fits); 62 62 if (!header) { 63 63 psError(PS_ERR_IO, false, "failed to read fixts header from skycell file: %s", fileName); 64 streaks removeExit("", PS_EXIT_DATA_ERROR);64 streaksExit("", PS_EXIT_DATA_ERROR); 65 65 } 66 66 // set up astrometry for conversion from skycell image to sky … … 68 68 if (!wcs) { 69 69 psError(PS_ERR_IO, false, "failed to read astrometry from skycell file: %s", fileName); 70 streaks removeExit("", PS_EXIT_DATA_ERROR);70 streaksExit("", PS_EXIT_DATA_ERROR); 71 71 } 72 72 int naxis1 = psMetadataLookupS32(NULL, header, "NAXIS1"); … … 99 99 if (!pmAstromWCStoSky(&sky, wcs, &pt[i])) { 100 100 psError(PS_ERR_IO, false, "failed to convert pt %d of %s to sky coords: %s", fileName); 101 streaks removeExit("", PS_EXIT_DATA_ERROR);101 streaksExit("", PS_EXIT_DATA_ERROR); 102 102 } 103 103 strkPt p; … … 105 105 if (!skyToCell(&p, sf->astrom, sky.r, sky.d)) { 106 106 psError(PS_ERR_IO, false, "failed to convert pt %d of %s to sky coords: %s", fileName); 107 streaks removeExit("", PS_EXIT_DATA_ERROR);107 streaksExit("", PS_EXIT_DATA_ERROR); 108 108 } 109 109 pt[i].x = p.x;
Note:
See TracChangeset
for help on using the changeset viewer.
