code::CASADataHandler Class Reference

List of all members.

Public Member Functions

 CASADataHandler (const std::string &inputDirectory, const std::string &outputDirectory, const std::string &backupDirectory, const std::string &lbname, const std::string &namePattern=std::string(), bool keepFile=false, bool readAll=false, float magneticOffset=0.0, float rhoHVThreshold=0.0, float NCPThreshold=0.0, bool shiftAz=false, bool filterGCF=false, bool filterGateFlags=false)
virtual ~CASADataHandler ()
virtual void createW2NetcdfFiles ()
void casa_to_wdssii_units (const std::string &casa, std::string &wdssii, std::string &new_casa)
 Convert CASA units to WDSSII recognizable units.
void buildRadialSet (SmartPtr< RadialSet > &rs, std::string typeName, std::string unit, std::string radarName, const Location &location, NcVar *data_var, CASAData::CASAScanType_t scanType)
 Build an empty RadialSet for NcVar data_var.
SmartPtr< Radial > getRadial (const SmartPtr< RadialSet > &rs, const Angle &beamWidth, const Angle &azimuth, const Angle &azSpacing, const Angle &elevation, const SpaceTimeRef &loc_firstGate, const Length &gate_width, int radialIndex, int numGates, int startGate, NcVar *data_var, const bool filterForGCF=false, NcVar *gateflagsFilter=NULL, NcVar *rhoHVFilter=NULL, float rhoHVThreshold=0.0, NcVar *NCPFilter=NULL, float NCPThreshold=0.0, const double txFrequency=0.0)
 Build a radial from the data in the NcVar data_var.
bool readData (CASAData &casaData)
 Read data from file, return true if success.

Constructor & Destructor Documentation

code::CASADataHandler::CASADataHandler ( const std::string &  inputDirectory,
const std::string &  outputDirectory,
const std::string &  backupDirectory,
const std::string &  lbname,
const std::string &  namePattern = std::string(),
bool  keepFile = false,
bool  readAll = false,
float  magneticOffset = 0.0,
float  rhoHVThreshold = 0.0,
float  NCPThreshold = 0.0,
bool  shiftAz = false,
bool  filterGCF = false,
bool  filterGateFlags = false 
)

virtual code::CASADataHandler::~CASADataHandler (  )  [virtual]


Member Function Documentation

void code::CASADataHandler::buildRadialSet ( SmartPtr< RadialSet > &  rs,
std::string  typeName,
std::string  unit,
std::string  radarName,
const Location &  location,
NcVar *  data_var,
CASAData::CASAScanType_t  scanType 
)

Build an empty RadialSet for NcVar data_var.

void code::CASADataHandler::casa_to_wdssii_units ( const std::string &  casa,
std::string &  wdssii,
std::string &  new_casa 
)

Convert CASA units to WDSSII recognizable units.

virtual void code::CASADataHandler::createW2NetcdfFiles (  )  [virtual]

SmartPtr<Radial> code::CASADataHandler::getRadial ( const SmartPtr< RadialSet > &  rs,
const Angle &  beamWidth,
const Angle &  azimuth,
const Angle &  azSpacing,
const Angle &  elevation,
const SpaceTimeRef &  loc_firstGate,
const Length &  gate_width,
int  radialIndex,
int  numGates,
int  startGate,
NcVar *  data_var,
const bool  filterForGCF = false,
NcVar *  gateflagsFilter = NULL,
NcVar *  rhoHVFilter = NULL,
float  rhoHVThreshold = 0.0,
NcVar *  NCPFilter = NULL,
float  NCPThreshold = 0.0,
const double  txFrequency = 0.0 
)

Build a radial from the data in the NcVar data_var.

bool code::CASADataHandler::readData ( CASAData casaData  ) 

Read data from file, return true if success.


Generated on Fri May 4 13:40:21 2012 for WDSS-IIw2algs by  doxygen 1.4.7