This module handles generating field-of-view projctions
Based on Mike Ruohoniemi’s GEOPACK Based on R.J. Barnes radar.pro
Calculate off-boresight azimuth as a function of elevation angle and zero-elevation off-boresight azimuth. See Milan et al. [1997] for more details on how this works.
Calculate coordinates of field point given the radar coordinates and boresight, the pointing direction deviation from boresight and elevation angle, and the field point slant range and altitude. Either the elevation or the altitude must be provided. If none is provided, the altitude is set to 300 km and the elevation evaluated to accomodate altitude and range.
tGeoLat: transmitter latitude [degree, N]
tGeoLon: transmitter longitude [degree, E]
tAlt: transmitter altitude [km]
boreSight: boresight azimuth [degree, E]
boreOffset: offset from boresight [degree]
slantRange: slant range [km]
elevation: elevation angle [degree] (estimated if None)
altitude: altitude [km] (default 300 km)
coords: ‘geo’ (more to come)
This class calculates and stores field-of-view coordinates. Provide the input-set [nbeams, ngates, bmsep, recrise] or a SITE object. Parameters from the input-set will always take precedence over parameters from the SITE object.Make sure to provide frang and rsep, the default values are not always applicable. The full projection gives the coordinates at each corner of each gate, in the following order: looking in the beam direction, lower-left, lower-right, upper-right, upper-left.
site: site structure for a given radar and date-time
frang: first range gate position [km] (defaults to 180 km) (scalar or ndarray(nbeams))
rsep: range gate separation [km] (defaults to 45 km) (scalar or ndarray(nbeams))
nbeams: number of beams (use site information if not provided)
ngates: number of gates (use site information if not provided)
bmsep: beam separation [degree] (use site information if not provided)
siteLat: geographic latitude of radar [degree] (use site information if not provided)
siteLon: geographic longitude of radar [degree] (use site information if not provided)
siteAlt: altitude of radar site [m] (use site information if not provided)
siteBore: radar boresite [degree] (use site information if not provided)
recrise: receiver rise time [us] (use site information if not provided) (scalar or ndarray(nbeams))
elevation: elevation angle [degree] (if not provided, is evaluated using ‘model’) (scalar or ndarray(ngates) or ndarray(nbeams,ngates))
altitude: altitude [km] (if not provided, set to 300 km) (scalar or ndarray(ngates) or ndarray(nbeams,ngates))
coords: ‘geo’, ‘mag’
Calculate the ground scatter mapped slant range. See Bristow et al. [1994] for more details.
Calculate slant range
alias of pydarn.radar.radFov