#include <SpatialAxisSpec.h>
Public Member Functions | |
SpatialAxisSpec (const std::string &axisSpec) throw (CDMException) | |
SpatialAxisSpec (const std::string &axisSpec, double start, double end) throw (CDMException) | |
virtual | ~SpatialAxisSpec () |
bool | requireStartEnd () |
void | setStartEnd (double start, double end) |
const std::vector< double > & | getAxisSteps () |
A SpatialAxisSpec consists of at least of values:
relativeStart will reset the relative value 0 to the first value larger than x0 (original start time) with x0 = i * (v1-v0)* unit with i being a integer.
axisspec = -450000,-400000,...,50000
timespec = -50,0,...,x,x+50;relativeStart=17;unit=km
the RELVALUES currently must be in m, degree not supported (yet?)
MetNoFimex::SpatialAxisSpec::SpatialAxisSpec | ( | const std::string & | axisSpec | ) | throw (CDMException) [inline] |
Define a spatialAxisSpec. Depending on the axisSpec (relativeStart?), start and end must be given later
axisSpec | string representation as explained above |
MetNoFimex::SpatialAxisSpec::SpatialAxisSpec | ( | const std::string & | axisSpec, | |
double | start, | |||
double | end | |||
) | throw (CDMException) [inline] |
Define a spatialAxisSpec
axisSpec | string representation as explained above | |
start | place of data start, in degree or m | |
end | place to end, in degree or m |
virtual MetNoFimex::SpatialAxisSpec::~SpatialAxisSpec | ( | ) | [inline, virtual] |
bool MetNoFimex::SpatialAxisSpec::requireStartEnd | ( | ) |
Check if axisSpec still requires start and end place. This returns false if a) start and end have been given already b) the axisSpec is independant of start and end
void MetNoFimex::SpatialAxisSpec::setStartEnd | ( | double | start, | |
double | end | |||
) | [inline] |
const std::vector<double>& MetNoFimex::SpatialAxisSpec::getAxisSteps | ( | ) | [inline] |