- Timestamp:
- Dec 10, 2012, 4:35:46 PM (14 years ago)
- Location:
- branches/czw_branch/20120906
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppTranslate/src/ppMopsRead.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906
- Property svn:mergeinfo changed
-
branches/czw_branch/20120906/ppTranslate/src/ppMopsRead.c
r34772 r34786 28 28 for (int i = 0; i < num; i++) { 29 29 const char *name = inNames->data[i]; 30 printf(" %s\n", name);30 printf("Input filename:\n%s\n", name); 31 31 32 32 psFits *fits = psFitsOpen(name, "r"); // FITS file … … 84 84 } 85 85 ppMopsDetections *det = ppMopsDetectionsAlloc(size); 86 det->platescale = NAN; 86 87 detections->data[i] = det; 87 88 det->component = psStringNCopy(name, strrchr(name, '.') - name); // Strip off extension … … 280 281 if (isfinite(scale)) { 281 282 det->platescale = scale; 283 //printf("platescale = %g\n", scale); 282 284 } 283 285 numGood++; … … 306 308 } 307 309 310 printf("Detection platescale = %g\n", det->platescale); 308 311 psTrace("ppMops.read", 2, "Read %ld good rows from %s\n", numGood, (const char*)name); 309 312 }
Note:
See TracChangeset
for help on using the changeset viewer.
