- Timestamp:
- 01/14/05 13:40:10 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDFITSImageWriter.cc
r191 r195 92 92 ROScalarColumn<Double> time(tab, "TIME"); 93 93 ROArrayColumn<uInt> freqid(tab, "FREQID"); 94 ROScalarColumn<String> src(tab, "SRCNAME"); 94 95 95 96 // Output Image Shape; spectral axis to be updated … … 208 209 209 210 ostringstream oss; 210 oss << String("_row") << iRow << "_beam" << pos(0) << "_if" << pos(1) << "_pol" << pos(2) << ".fits"; 211 String fileName = rootName + String(oss); 211 oss << "row" << iRow << "_beam" << pos(0) << "_if" << pos(1) << "_pol" << pos(2) << "_" << src(iRow) << ".fits"; 212 String fileName; 213 if (rootName.length()>0) { 214 fileName = rootName + "_" + String(oss); 215 } else { 216 fileName = String(oss); 217 } 212 218 if (verbose) cerr << "Writing row " << iRow << " into file " << fileName << endl; 213 219 //
Note:
See TracChangeset
for help on using the changeset viewer.