radar_grid
file_to_rdr_grid(ref_grid_path)
read parameters from text file needed to create radar grid object
Source code in src/compass/utils/radar_grid.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
get_decimated_rdr_grd(rdr_grid_original, dec_factor_rng, dec_factor_az)
Decimate the rdr_grid_original by the factor close to
dec_factor_rng and dec_factor_az in range / azimuth direction respectively,
while making sure that the very first / last samples / lines in
rdr_grid_original gets included in the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rdr_grid_original
|
The original radargrid as the basis of the decimated radargrid |
required | |
dec_factor_rng
|
Decimation factor in range direction |
required | |
dec_factor_az
|
Decimation factor in azimuth direction |
required |
Returns:
| Name | Type | Description |
|---|---|---|
rdr_grid_decimated |
RadarGridParameters
|
Decimated radar grid |
Source code in src/compass/utils/radar_grid.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
rdr_grid_to_file(ref_grid_path, rdr_grid)
save parameters needed to create a new radar grid object
Source code in src/compass/utils/radar_grid.py
27 28 29 30 31 32 33 34 35 36 37 38 | |