Hello,
I have a piece of python that I am struggling with.
Here's the part that's failing
fig = plt.figure(figsize=[22, 22])
projct=ccrs.PlateCarree()
ax = plt.axes(projection=projct)
display = pyart.graph.RadarMapDisplay(radar)
print("----")
print("---")
display.plot_ppi_map('reflectivity', 1, vmin=-2, vmax=64, min_lon=minlon, max_lon=maxlon, \
min_lat=minlat, max_lat=maxlat, \
cmap='NWSRef', \
lat_lines = local_lats, lon_lines = local_lons, \
projection=projct, \
lat_0=radar.latitude['data'][0],lon_0=radar.longitude['data'][0])
When I get to the display.plot_ppi_map, I crash.
Here's my error:
---
/home/mccrone/anaconda3/lib/python3.8/site-packages/pyart/graph/radarmapdisplay.py:284: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance.
ax = plt.axes(projection=projection)
Segmentation fault
This is failing on a Red Hat system.
This code is running on a separate CENTOS computer and running fine.
Any thoughts?