Dear Py-ART users,
This is likely to be a stupid question but I do not manage to solve it.
I am trying to plot a CAPPI and I would like the axis ticks to be in units of distance from radar in km. Do you have any idea on how to do that? In attachment you can see an example of what I get so far. Here is my relevant code:
# cartesian mapping
grid = pyart.map.grid_from_radars(
(radar,), grid_shape=(1, 241, 241),
grid_limits=((altitude, altitude), (xmin*1000., xmax*1000.),
(ymin*1000., ymax*1000.)),
fields=[field_name])
# display data
display = pyart.graph.GridMapDisplay(grid)
fig = plt.figure(figsize=[prdcfg['ppiImageConfig']['xsize'],
prdcfg['ppiImageConfig']['ysize']],
dpi=72)
display.plot_grid(field_name, axislabels_flag=True)
fig.savefig(fname)
plt.close()
Thanks in advance for your help.
Greetings from Switzerland,
Jordi