31 #ifndef RADAR__COORDINATES_
32 #define RADAR__COORDINATES_ "radar__coordinates 0.2, May 16 2011 Markus.Peura@fmi.fi"
34 #include <drain/image/CoordinatePolicy.h>
43 #include "drain/util/Rectangle.h"
143 void setOrigin(
const double &theta,
const double &phi);
164 void info(std::ostream &ostr = std::cout);
Policies for coordinate underflows and overflows.
Definition: CoordinatePolicy.h:106
Simple spherical coordinate computation. Does not handle projections, but earth coords.
Definition: Coordinates.h:131
void info(std::ostream &ostr=std::cout)
Determines the bounding box (in degrees) of the circular radar measurement area.
Definition: Coordinates.cpp:299
double e21
Elelements of the North pointing site unit vector [e21 e22 e23].
Definition: Coordinates.h:180
void setBinPosition(const double &alpha, const float &range)
Definition: Coordinates.cpp:211
double phiBin
Bin longitude in radians after calling bin_position().
Definition: Coordinates.h:186
void setOrigin(const double &theta, const double &phi)
Radar site latitude and longitude in radians.
Definition: Coordinates.cpp:169
double binLongitudeDeg()
Bin longitude in degrees after calling bin_position().
Definition: Coordinates.h:196
double e11
Elelements of the East pointing site unit vector [e11 e12 e13].
Definition: Coordinates.h:177
void setOriginDeg(const double &lat, const double &lon)
Set target projection. // void setProjection(const std::string &s);.
Definition: Coordinates.cpp:203
double binLatitudeDeg()
Bin latitude in degrees after calling bin_position().
Definition: Coordinates.h:190
double p01
Radar position vector (from Earth center to surface.
Definition: Coordinates.h:171
double thetaBin
Bin latitude in radians after calling bin_position().
Definition: Coordinates.h:183
double p1
Earth centered coordinates [p_1 p_2 p_3] of the current bin position.
Definition: Coordinates.h:174
Definition: DataSelector.cpp:44
const drain::image::CoordinatePolicy limitCoords(drain::image::EdgePolicy::LIMIT, drain::image::EdgePolicy::LIMIT, drain::image::EdgePolicy::LIMIT, drain::image::EdgePolicy::LIMIT)
Default coordinate policy; no wrapping or mirroring at edges.
Definition: Coordinates.h:55
const drain::image::CoordinatePolicy polarLeftCoords(drain::image::EdgePolicy::POLAR, drain::image::EdgePolicy::WRAP, drain::image::EdgePolicy::LIMIT, drain::image::EdgePolicy::WRAP)
Standard (?) orientation of polar coords in radar data.
Definition: Coordinates.h:51