Attribute error: Module 'pyart.retrieve' has no attribute 'create_cappi'

Hi,
I am getting the following attribute error while trying to create a CAPPI plot. Please suggest alternatives for ‘create_cappi’. The version of arm_pyart installed in anaconda is 1.16.1.

//AttributeError Traceback (most recent call last)
Cell In[3], line 22
19 gatefilter.exclude_transition()
21 # Create CAPPI at 2,000 meters for the ‘reflectivity’ field
—> 22 cappi = pyart.retrieve.create_cappi(
23 radar, fields=[“reflectivity”], height=2000, gatefilter=gatefilter
24 )
26 # Create RadarMapDisplay objects for both PPI and CAPPI
27 radar_display = pyart.graph.RadarMapDisplay(radar)

AttributeError: module ‘pyart.retrieve’ has no attribute ‘create_cappi’//

@dhaneeshimd Can you update your Py-ART? Cappi was added in a much later version than the version you stated you have installed 1.16.1

1 Like

Thank you so much @zssherman. I have updated the Py-ART and its dependencies in conda. Now the problem is resolved.

1 Like

Great! Glad to hear.