10 #ifndef LOFAR_MS_VDSMAKER_H
11 #define LOFAR_MS_VDSMAKER_H
15 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
16 #include <casacore/casa/Arrays/Vector.h>
47 static void create(
const std::string& msName,
const std::string& outName,
48 const std::string& clusterDescName,
49 const std::string& hostName = std::string(),
50 bool fillTimes =
true);
53 static void combine(
const std::string& gdsName,
54 const std::vector<std::string>& vdsNames);
59 static void getFreqInfo(casacore::MS& ms, std::vector<int>& nrchan,
60 std::vector<casacore::Vector<double>>& startFreq,
61 std::vector<casacore::Vector<double>>& endFreq);
64 static void getFields(casacore::MS& ms, std::vector<double>& ra,
65 std::vector<double>& dec,
66 std::vector<std::string>& refType);
69 static void getAntNames(casacore::MS& ms, std::vector<std::string>& antNames);
72 static void getCorrInfo(casacore::MS& ms,
73 std::vector<std::string>& corrTypes);
78 static void getDataFileInfo(casacore::MS& ms,
string& name,
bool& regular,
79 std::vector<int>& tileShape,
80 std::vector<int>& cubeShape);
84 static string findFileSys(
const std::string& fileName,
86 const std::string& hostName);
Description of a cluster and the nodes in it.
Description of a cluster and the nodes in it.
Definition: ClusterDesc.h:41
Class to create the description of an MS.
Definition: VdsMaker.h:37
static void create(const std::string &msName, const std::string &outName, const std::string &clusterDescName, const std::string &hostName=std::string(), bool fillTimes=true)
static void combine(const std::string &gdsName, const std::vector< std::string > &vdsNames)
Combine the given VDS file into a global VDS file.
This file has generic helper routines for testing steps.
Definition: AntennaConfig.h:53