Plotting RHI in a 2D grid in python using pyart is currently my problem. Is it possible or not to do so?
What problem are you running into here? Can you copy/paste the code and the output with the error?
Thank you for replying sir. I wanted to plot an RHI(resolution=50m) data to a cartesian grid. I converted the polar coordinates to cartesian in this code but don’t know how to make a grid and interpolate the data to 100X100 and 500X500 grid. Really appreciate your help sir.
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import numpy as np
import pandas as pd
Can you try gridding using this example?
You should be able to grid the RHI the same way you would grid a PPI.
The gridding part of the Radar Cookbook would also help
Please give those options a try, and let me know if you run into any issues.
thank you sir. I have tried plotting but it only gives a plot of longitude and latitude. I dont know how to projects height as the y axis.
This is what i get when I put the y grid shape to be 1.
Converting RHI data to a grid makes no sense because RHI data has only one fixed angle, and there is no need to convert it to a grid. However, if you want to plot it with geographic coordinates, you can use PyART to create a grid, as shown in this notebook.
Thank you for your help sir