RadarGetCode
Syntax | ||
char *RadarGetCode(struct RadarNetwork *ptr,int stid,int cnum); | ||
Header | ||
superdarn/radar.h | ||
Library | ||
radar | ||
Description | ||
The The argument ptr is a pointer to a structure containing the information for the entire network. The radar identifier number for the radar is given by the argument stid. Originally, radars were identified using a single letter code. However as the network has expanded, multiple letter codes are now used. To maintain compatibility, radars can have multiple identifier codes defined. The argument cnum is used to select which identifier code is returned. | ||
Returns | ||
Returns a pointer to a zero terminated text string that contains the radar code. On error, a NULL pointer is returned. | ||
Errors | ||
On error, a NULL pointer is returned. | ||
Example | ||
|