Changeset 12526 for trunk/pswarp/src/pswarpParseCamera.c
- Timestamp:
- Mar 21, 2007, 1:29:55 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpParseCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpParseCamera.c
r12505 r12526 19 19 pmFPAfileDefineFromArgs (&status, config, "PSWARP.ASTROM", "ASTROM"); 20 20 if (status) { 21 fprintf (stderr, "using supplied astrometry\n");21 psLogMsg ("pswarp", 3, "using supplied astrometry\n"); 22 22 } else { 23 fprintf (stderr, "using header astrometry\n");23 psLogMsg ("pswarp", 3, "using header astrometry\n"); 24 24 } 25 25 26 26 // the mask is not required - but must conform to input camera 27 27 if (!pmFPAfileBindFromArgs (NULL, input, config, "PSWARP.MASK", "MASK")) { 28 fprintf (stderr, "no mask supplied\n");28 psLogMsg ("pswarp", 3, "no mask supplied\n"); 29 29 } 30 30 31 31 if (!pmFPAfileBindFromArgs (NULL, input, config, "PSWARP.WEIGHT", "WEIGHT")) { 32 fprintf (stderr, "no weight supplied\n");32 psLogMsg ("pswarp", 3, "no weight supplied\n"); 33 33 } 34 34 … … 42 42 43 43 // these calls bind the I/O handle to the specified fpa 44 // NOTE: output file could be binned relative to sky cell... 45 // if (!pmFPAfileDefineFromFPA (skyConfig, skycell->fpa, 1, 1, "PSWARP.OUTPUT")) { 44 46 if (!pmFPAfileDefineOutput (skyConfig, skycell->fpa, "PSWARP.OUTPUT")) { 45 47 psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT");
Note:
See TracChangeset
for help on using the changeset viewer.
