MetNoFimex::CDMInterpolator Class Reference

#include <CDMInterpolator.h>

Inheritance diagram for MetNoFimex::CDMInterpolator:

MetNoFimex::CDMReader List of all members.

Public Member Functions

 CDMInterpolator (boost::shared_ptr< CDMReader > dataReader)
virtual ~CDMInterpolator ()
virtual const boost::shared_ptr<
Data
getDataSlice (const std::string &varName, size_t unLimDimPos=0) throw (CDMException)
 retrieve data from the underlying dataReader and interpolate the values due to the current projection
virtual void changeProjection (int method, const std::string &proj_input, const std::vector< double > &out_x_axis, const std::vector< double > &out_y_axis, const std::string &out_x_axis_unit, const std::string &out_y_axis_unit) throw (CDMException)
virtual void setLatitudeName (const std::string &latName)
virtual const std::stringgetLatitudeName () const
virtual void setLongitudeName (const std::string &lonName)
virtual const std::stringgetLongitudeName () const

Constructor & Destructor Documentation

MetNoFimex::CDMInterpolator::CDMInterpolator boost::shared_ptr< CDMReader dataReader  ) 
 

MetNoFimex::CDMInterpolator::~CDMInterpolator  )  [virtual]
 


Member Function Documentation

void MetNoFimex::CDMInterpolator::changeProjection int  method,
const std::string proj_input,
const std::vector< double > &  out_x_axis,
const std::vector< double > &  out_y_axis,
const std::string out_x_axis_unit,
const std::string out_y_axis_unit
throw (CDMException) [virtual]
 

@ brief change the (main) projection of the dataReaders cdm to this new projection

Parameters:
method Interpolation method

const boost::shared_ptr< Data > MetNoFimex::CDMInterpolator::getDataSlice const std::string varName,
size_t  unLimDimPos = 0
throw (CDMException) [virtual]
 

retrieve data from the underlying dataReader and interpolate the values due to the current projection

Implements MetNoFimex::CDMReader.

virtual const std::string& MetNoFimex::CDMInterpolator::getLatitudeName  )  const [inline, virtual]
 

Returns:
the name used for latitude in the automatic coordinate generation

virtual const std::string& MetNoFimex::CDMInterpolator::getLongitudeName  )  const [inline, virtual]
 

Returns:
the name used for longitude in the automatic coordinate generation

virtual void MetNoFimex::CDMInterpolator::setLatitudeName const std::string latName  )  [inline, virtual]
 

set the name for the automatically generated latitude coordinate axis. This must be set before changeProjection is called.

Parameters:
latName name for latitude

virtual void MetNoFimex::CDMInterpolator::setLongitudeName const std::string lonName  )  [inline, virtual]
 

set the name for the automatically generated longitude coordinate axis. This must be set before changeProjection is called.

Parameters:
latName name for longitude


The documentation for this class was generated from the following files:
Generated on Thu Jun 5 14:58:25 2008 for MI - Fimex by  doxygen 1.4.6