You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert the latitude, longitude, and altitude of LMA VHF sources to x/y/z distances (in meters) from an arbitrary latitude, longitude, and altitude.
64
66
65
67
Creates a tangent plane cartesian system at the latitude, longitude, and altitude provided, and converts the LMA VHF sources to the tangent plane coordinate system.
66
68
67
69
Parameters
68
70
----------
69
-
lma_file : `xarray.Dataset`
71
+
event_longitude : `xarray.Dataset`
70
72
A pyxlma dataset containing latitude, longitude, and altitude of LMA VHF sources.
Creates tangent plane at the radar's location and converts the LMA VHF sources to the tangent plane coordinate system, then rotates the tangent plane in the direction of the scan azimuth.
272
+
Filters RHI scan points based on distance and time thresholds.
273
+
274
+
275
+
Parameters
276
+
----------
277
+
lma_file : `xarray.Dataset`
278
+
A pyxlma dataset containing latitude, longitude, and altitude, and event_id of N number of LMA VHF sources.
279
+
radar_latitude : `float`
280
+
Latitude of the radar in degrees.
281
+
radar_longitude : `float`
282
+
Longitude of the radar in degrees.
283
+
radar_altitude : `float`
284
+
Altitude of the radar in meters.
285
+
radar_azimuth : `float`
286
+
Azimuth of the RHI scan in degrees.
287
+
radar_scan_time : `datetime.datetime` or `numpy.datetime64` or `pandas.Timestamp`
288
+
Time of the RHI scan.
289
+
distance_threshold : `float`
290
+
Maximum distance from the radar to the LMA VHF sources in meters. Default is 1000.
291
+
time_threshold : `float`
292
+
Number of seconds before and after the RHI scan time to include LMA VHF sources. Default is 30. (total length: 1 minute)
293
+
294
+
295
+
Returns
296
+
----------
297
+
lma_range : `numpy.ndarray`
298
+
A 1D array representing the distance along the tangent plane in the direction of the RHI scan.
299
+
lma_dist : `numpy.ndarray`
300
+
A 1D array representing the distance from the radar RHI scan plane to each filtered LMA point.
301
+
lma_alt : `numpy.ndarray`
302
+
A 1D array representing the height above the tangent plane centered at radar level of each filtered LMA point.
303
+
point_mask : `numpy.ndarray`
304
+
A 1D array of booleans representing the VHF points that were included in the return.
0 commit comments