DP3
Static Public Member Functions | List of all members
dp3::common::VdsMaker Class Reference

Class to create the description of an MS. More...

#include <VdsMaker.h>

Static Public Member Functions

static void combine (const std::string &gdsName, const std::vector< std::string > &vdsNames)
 Combine the given VDS file into a global VDS file. More...
 
static void create (const std::string &msName, const std::string &outName, const std::string &clusterDescName, const std::string &hostName=std::string(), bool fillTimes=true)
 

Detailed Description

Class to create the description of an MS.

Class to create the description of a MeasurementSet (part). The output is a vds file written in parset format (vds = visibility data set). All vds files of an entire MeasurementSet can be combined into a gvds file which is used by the pipeline software to determine on which nodes processses can be run the process the various parts of an MS. The vds file can contain extra info. For example, the program extra information is added for the RFI detection software of Peter Fridman.

Member Function Documentation

◆ combine()

static void dp3::common::VdsMaker::combine ( const std::string &  gdsName,
const std::vector< std::string > &  vdsNames 
)
static

Combine the given VDS file into a global VDS file.

◆ create()

static void dp3::common::VdsMaker::create ( const std::string &  msName,
const std::string &  outName,
const std::string &  clusterDescName,
const std::string &  hostName = std::string(),
bool  fillTimes = true 
)
static

Create the description for the given MS and put it in a file with the given name on the given host. If the host name is empty, gethostname() will be used. The given ClusterDesc file will be used to find the file system on which the MS part os located. If the clusterDescName is empty, the file system will be set to unknown. It can be specified if the vectors holding the start and end time of each time stamp should be made part of the VDS file.


The documentation for this class was generated from the following file: