radius-height plot of azimuthally averaged vertical velocity

35 views
Skip to first unread message

Ganadhi Kranthi

unread,
Mar 13, 2024, 5:46:20 AM3/13/24
to wrfpython-talk
I want to plot a radius-height plot of azimuthally averaged vertical velocity from the WRF output. could anyone of you please help me with the script how to calculate these azimuthally average from the center of the tropical cyclone.

Please help me with this. i literally stuck with this plot to finish my P.hD. thesis

Marco Miani

unread,
Mar 13, 2024, 6:19:12 AM3/13/24
to Ganadhi Kranthi, wrfpython-talk
Hi Ganadhi. 

Have you checked the vertical cross sections function? One of the two available ways on how to extract them, is by prescribing a pivoting point (lat, lon) and an angle. The result would be a vertical slice. The linear distance on the ground (you should compute that, by doing a cumulative sum of lats,lons pairs) could then be your radius, and the vertical coordinate would be there already. 

There exist (very well) examples on how to do that (with code and comments!), and of course the official documentation should you ever be interested. X-array could then take care of the averaging/aggregation task, over desired dimension(s). 

Reading manuals and (slightly) adapting the code to your specific case, is all you need to do...
Happy coding.

On Wed, 13 Mar 2024 at 11:46, Ganadhi Kranthi <ganadhi...@gmail.com> wrote:
I want to plot a radius-height plot of azimuthally averaged vertical velocity from the WRF output. could anyone of you please help me with the script how to calculate these azimuthally average from the center of the tropical cyclone.

Please help me with this. i literally stuck with this plot to finish my P.hD. thesis

--
You received this message because you are subscribed to the Google Groups "wrfpython-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-tal...@ucar.edu.
To view this discussion on the web visit https://groups.google.com/a/ucar.edu/d/msgid/wrfpython-talk/5ac1551e-f1e4-4517-bd1e-2bcdd45002bfn%40ucar.edu.

Marco Miani

unread,
Mar 13, 2024, 6:55:27 AM3/13/24
to ganadhi...@gmail.com, wrfpyth...@ucar.edu

👍

Marco reacted via Gmail


On Wed, 13 Mar 2024, 12:45 Ganadhi Kranthi, <ganadhi...@gmail.com> wrote:
Thank you so much for the info! 
 Definitely I will try to plot with what you have provided

Ganadhi Kranthi

unread,
Mar 13, 2024, 2:53:30 PM3/13/24
to Marco Miani, wrfpython-talk
Thank you so much for the info! 
 Definitely I will try to plot with what you have provided

On Wed, Mar 13, 2024, 3:49 PM Marco Miani <mark....@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages