# Is it possible to plot PPI at a particular elevation angle without converting into CAPPI?

**URL:** <https://openradar.discourse.group/t/is-it-possible-to-plot-ppi-at-a-particular-elevation-angle-without-converting-into-cappi/111>\
**Category:** General\
**Created:** [December 1, 2022, 8:57am UTC](https://openradar.discourse.group/t/is-it-possible-to-plot-ppi-at-a-particular-elevation-angle-without-converting-into-cappi/111 "2022-12-01T08:57:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adithiyrnair](https://yyz2.discourse-cdn.com/free1/user_avatar/openradar.discourse.group/adithiyrnair/32/84_2.png) [@adithiyrnair](https://openradar.discourse.group/u/adithiyrnair)\
**Post date:** [December 1, 2022, 8:57am UTC](https://openradar.discourse.group/t/is-it-possible-to-plot-ppi-at-a-particular-elevation-angle-without-converting-into-cappi/111/1 "2022-12-01T08:57:53Z")

</div>

I am actually trying to plot PPI at a perticular elevation angle and plot a vertical distribution of rays in wradlib. I am currently using CFRad2 format data . I am attaching a screen shot from a reference paper

PFA

Adithiy

 ![Screenshot from 2022-12-01 14-04-10](https://global.discourse-cdn.com/free1/uploads/openradar/original/1X/f0c1e20d67d842ec3d0baa251f4e65c68b8c7f33.png)

---

<div class="post-metadata">

**Author:** ![kmuehlbauer](https://yyz2.discourse-cdn.com/free1/user_avatar/openradar.discourse.group/kmuehlbauer/32/439_2.png) [@kmuehlbauer](https://openradar.discourse.group/u/kmuehlbauer)\
**Post date:** [December 2, 2022, 6:43am UTC](https://openradar.discourse.group/t/is-it-possible-to-plot-ppi-at-a-particular-elevation-angle-without-converting-into-cappi/111/2 "2022-12-02T06:43:38Z")

</div>

@adithiyrnair,

I’m assuming you have a volume of PPI sweeps in your datafile and you want to plot as given in the example (PPI, RHI).

It depends on the data how easy or complex this will get.

1. **range resolution is equal in all sweeps**  
You might just stack you data along the elevation, so you get an array with shape (elevation, azimuth, range). If you do this with xarray.Dataset you then can easily select different elevations and azimuths for plotting PPI and _fake_ RHI.
2. **range resolution differs between sweeps.**  
Align the resolution to greatest common divisor in all sweeps and follow 1 (Caveat: For phase based moments you need to adapt the values according to the aligned range.)

You will need to georeference the data properly in x,y,z and use those coordinates for plotting.

---

<div class="post-metadata">

**Author:** ![syedhamidali](https://yyz2.discourse-cdn.com/free1/user_avatar/openradar.discourse.group/syedhamidali/32/377_2.png) [@syedhamidali](https://openradar.discourse.group/u/syedhamidali)\
**Post date:** [January 24, 2023, 9:48pm UTC](https://openradar.discourse.group/t/is-it-possible-to-plot-ppi-at-a-particular-elevation-angle-without-converting-into-cappi/111/3 "2023-01-24T21:48:56Z")

</div>

[PseudoRHI - Here is the notebook](https://github.com/syedhamidali/Weather-Radar-PPI-RHI-Plotting-by-PYART/blob/main/ppi_Pseudo_RHI_azimuth.ipynb)
