Module Expr Str Print NameLoad Import alias identifier Import alias Import alias identifier Import alias identifier Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad AugAssignDiv NameStore Num AugAssignDiv NameStore Num AugAssignDiv NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Num Num keyword ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Num keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Num Num Num keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Num Num Num keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Num Num Num keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Num Num Num keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr
N/A N/A 
====================================================================
Create an RHI plot with reflectivity contour lines from an MDV file
====================================================================

An example which creates an RHI plot of velocity using a RadarDisplay object
and adding Reflectivity contours from the same MDV file.

 N/A __doc__ N/A matplotlib.pyplot plt N/A pyart N/A numpy np N/A scipy.ndimage spyi N/A filename 034142.mdv N/A sweep 2 N/A radar N/A N/A N/A pyart io read_mdv filename N/A display N/A N/A N/A pyart graph RadarDisplay radar N/A fig N/A N/A plt figure figsize N/A 20 5 N/A ax N/A N/A fig add_subplot 111 N/A N/A N/A display plot velocity sweep sweep vmin -20 vmax 20.0 fig fig ax ax cmap pyart_BuDRd18 colorbar_label Velocity (m/s) N/A start N/A N/A radar get_start sweep N/A end N/A N/A N/A radar get_end sweep 1 N/A data N/A N/A radar get_field sweep reflectivity N/A N/A x y z N/A N/A radar get_gate_x_y_z sweep edges False N/A x 1000.0 N/A y 1000.0 N/A z 1000.0 N/A data N/A N/A spyi gaussian_filter data sigma 1.2 N/A R N/A N/A N/A np sqrt N/A N/A x 2 N/A y 2 N/A N/A np sign y N/A R N/A R N/A N/A N/A display set_limits xlim N/A 25 0 ylim N/A 0 5 N/A levels N/A N/A np arange 35 100 5 N/A contours N/A N/A ax contour R z data levels linewidths 1.5 colors k linestyles solid antialiased True N/A N/A N/A plt clabel contours levels fmt %r inline True fontsize 10 N/A N/A N/A ax grid color k linestyle : linewidth 1 which major N/A N/A N/A ax axhline 0.9 0 1 linestyle solid color k linewidth 2 N/A N/A N/A ax axhline 1.3 0 1 linestyle dashed color k linewidth 2 N/A N/A N/A ax axvline 15 0 1 linestyle solid color #00b4ff linewidth 2 N/A N/A N/A ax axvline 4.5 0 1 linestyle solid color #ff6800 linewidth 2 N/A N/A N/A ax set_ylabel Altitude above CP-2 (km) N/A N/A N/A plt show