RPosCubicGS
Syntax | ||
void RPosCubicGS(int center,int bcrd,int rcrd,struct RadarSite *pos, int frang,int rsep,int rxrise,double height, double *x,double *y,double *z); | ||
Header | ||
superdarn/rpos.h | ||
Library | ||
rpos | ||
Description | ||
The The function returns either the coordinates of the corner of the cell or the center point. If the argument center is set to zero then the corner point is returned, if center is set to (1) then the center point is returned. The arguments bcrd and rcrd give the beam and range number of the cell. When calculating the corner point of a cell, the beam number ranges from zero to (16) and the range number ranges from zero to one more than the maximum range. This allows all the corners of the radar range-beam cells to be determined. The argument pos points to a structure containing the radar site and hardware information. The distance to the first range and the range separation are given by the arguments frang, rsep. The argument rxrise gives the receiver rise time, if this is set to zero then the receiver rise time will be taken from the hardware table. If the argument height is less than or equal to 90 it corresponds to the elevation angle in degrees associated with the calculation, otherwise is corresponds to the height in kilometers. The calculated position in cartesian coordinates is stored at the locations pointed to by the arguments x, y, and z. | ||
Returns | ||
None | ||
Errors | ||
None | ||
Example | ||
|