Skip to content
Snippets Groups Projects
Commit 88c23073 authored by Jan David Mol's avatar Jan David Mol
Browse files

COB-64: Write COBALT2 to MS and BF files version/processor info

parent 58a0021c
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
...@@ -190,7 +190,7 @@ namespace LOFAR ...@@ -190,7 +190,7 @@ namespace LOFAR
// BF_File specific root group parameters // BF_File specific root group parameters
file.createOfflineOnline().value = itsParset.settings.realTime ? "Online" : "Offline"; file.createOfflineOnline().value = itsParset.settings.realTime ? "Online" : "Offline";
file.BFFormat().value = "TAB"; file.BFFormat().value = "TAB";
file.BFVersion().value = str(format("Cobalt/OutputProc %s r%s using DAL %s and HDF5 %s") % OutputProcVersion::getVersion() % OutputProcVersion::getRevision() % dal::version().to_string() % dal::version_hdf5().to_string()); file.BFVersion().value = str(format("Cobalt2/OutputProc %s r%s using DAL %s and HDF5 %s") % OutputProcVersion::getVersion() % OutputProcVersion::getRevision() % dal::version().to_string() % dal::version_hdf5().to_string());
file.totalIntegrationTime().value = itsNrExpectedBlocks * itsParset.settings.blockDuration(); file.totalIntegrationTime().value = itsNrExpectedBlocks * itsParset.settings.blockDuration();
file.totalIntegrationTimeUnit().value = "s"; file.totalIntegrationTimeUnit().value = "s";
......
...@@ -586,7 +586,7 @@ namespace LOFAR ...@@ -586,7 +586,7 @@ namespace LOFAR
// Fill the columns // Fill the columns
msproc.addRow(); msproc.addRow();
msprocCol.type().put (0, "CORRELATOR"); msprocCol.type().put (0, "CORRELATOR");
msprocCol.subType().put (0, "LOFAR-COBALT"); msprocCol.subType().put (0, "LOFAR-COBALT2");
msprocCol.typeId().put (0, -1); msprocCol.typeId().put (0, -1);
msprocCol.modeId().put (0, -1); msprocCol.modeId().put (0, -1);
msprocCol.flagRow().put (0, False); msprocCol.flagRow().put (0, False);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment