("scans,s", po::value<string>(), "processes only the scans specified in the option's value. This value is a semicolon separated list of scan specifications. A scan specification consists in an exec bock index followed by the character ':' followed by a comma separated list of scan indexes or scan index ranges. A scan index is relative to the exec block it belongs to. Scan indexes are 1-based while exec blocks's are 0-based. \"0:1\" or \"2:2~6\" or \"0:1,1:2~6,8;2:,3:24~30\" \"1,2\" are valid values for the option. \"3:\" alone will be interpreted as 'all the scans of the exec block#3'. An scan index or a scan index range not preceded by an exec block index will be interpreted as 'all the scans with such indexes in all the exec blocks'. By default all the scans are considered.")
#include <boost/algorithm/string.hpp>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/regex.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/convenience.hpp>
using namespace boost::filesystem;
#include <boost/regex.hpp>
#include "IllegalAccessException.h"
#include "ASDM2MSFiller.h"
#include "measures/Measures/Stokes.h"
#include "measures/Measures/MFrequency.h"
using namespace casacore;
#include <tables/Tables/Table.h>
#include <tables/Tables/PlainTable.h>
#include <tables/Tables/TableCopy.h>
#include <tables/Tables/TableInfo.h>
#include <casa/Arrays/MatrixMath.h>
#include <casa/BasicMath/Math.h>
#include "CBasebandName.h"
#include "CCalibrationDevice.h"
using namespace CalibrationDeviceMod;
#include "CFrequencyReferenceCode.h"
#include "CPolarizationType.h"
#include "CProcessorSubType.h"
#include "CProcessorType.h"
#include "CSubscanIntent.h"
using namespace SubscanIntentMod;
#include "CStokesParameter.h"
#include "ASDMVerbatimFiller.h"
#include "SDMDataObjectReader.h"
#include "SDMDataObject.h"
#include "TableStreamReader.h"
#include "asdm2MSGeneric.h"
#include "asdmstman/AsdmStMan.h"
#include "BDF2AsdmStManIndex.h"
#include "ASDM2MSException.h"