Skip to content

testing.make_empty_ppi_radar for multiple elevation scans #1252

Answered by zssherman
rwall2 asked this question in Q&A
Discussion options

You must be logged in to vote

Gotcha so having uniform rays per sweep makes this slightly easier, so in your case:
radar = make_empty_ppi_radar(1832, 720, 16):

Also in your case:
radar.sweep_start_ray_index['data'] = np.array([0, 720, 1440, 2160, 2880, 3600, 4320, 5040, 5760, 6480, 7200, 7920, 8640, 9360, 10080, 10800])}
radar.sweep_end_ray_index['data'] = np.array([719, 1439, 2159, 2879, 3599, 4319, 5039, 5759. 6479, 7199, 7919. 8639. 9359, 10079. 10799, 11519])}
this allows pyart to know which ray index the sweeps start and end.

the rest of the variables in the example notebook, you would just have to plug in the arrays for the data attributes.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rwall2
Comment options

Comment options

You must be logged in to vote
1 reply
@rwall2
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rwall2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants