Changeset 7917 for trunk/Ohana/src/opihi/cmd.astro/drizzle.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/drizzle.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/drizzle.c
r4689 r7917 27 27 28 28 if (argc != 5) { 29 fprintf (stderr, "USAGE: transform <from> <to> <weight> (Nlinear)\n");30 fprintf (stderr, " output buffer must exist with target astrometry header\n");31 fprintf (stderr, " Nlinear is the pixel scale for linear astrometric transformation\n");29 gprint (GP_ERR, "USAGE: transform <from> <to> <weight> (Nlinear)\n"); 30 gprint (GP_ERR, " output buffer must exist with target astrometry header\n"); 31 gprint (GP_ERR, " Nlinear is the pixel scale for linear astrometric transformation\n"); 32 32 return (FALSE); 33 33 } … … 43 43 /* for the moment, disable WRP / DIS */ 44 44 if (!strcmp(&coords_in.ctype[4], "-WRP") || !strcmp(&coords_out.ctype[4], "-WRP")) { 45 fprintf (stderr, "WRP mode not implemented for astrom\n");45 gprint (GP_ERR, "WRP mode not implemented for astrom\n"); 46 46 return (FALSE); 47 47 } … … 50 50 scale_out = sqrt(fabs(coords_out.cdelt1*coords_out.cdelt2*(coords_out.pc1_1*coords_out.pc2_2 - coords_out.pc1_2*coords_out.pc2_1))); 51 51 52 fprintf (stderr, "%f - %f\n", scale_in, scale_out);52 gprint (GP_ERR, "%f - %f\n", scale_in, scale_out); 53 53 54 54 if (scale_in > scale_out) {
Note:
See TracChangeset
for help on using the changeset viewer.
