Changeset 1663
- Timestamp:
- 11/27/09 15:58:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STWriter.cpp
r1586 r1663 154 154 havexpol(ifs[i]) = nPol(ifs[i]) > 2; 155 155 } 156 156 Vector<String> obstypes(2); 157 obstypes(0) = "TR";//on 158 obstypes(1) = "RF TR";//off 157 159 const Table table = inst->table(); 160 158 161 159 162 // Create the output file and write static data. … … 236 239 pksrec.fieldName = rec.asString("FIELDNAME"); 237 240 pksrec.srcName = rec.asString("SRCNAME"); 238 pksrec.obsType = hdr.obstype;241 pksrec.obsType = obstypes[rec.asInt("SRCTYPE")]; 239 242 pksrec.bandwidth = nchan * abs(pksrec.freqInc); 240 243 pksrec.azimuth = rec.asFloat("AZIMUTH");
Note:
See TracChangeset
for help on using the changeset viewer.