Pyart State Boundary Issue

Hello, I have noticed an issue with Py-art in python. It plots the lower resolution state boundaries overtop the higher resolution boundaries. I pulled this graphic off the Py-art website and it shows the same thing. I don’t know how to fix it.

Are you referencing the figure from the radar cookbook here?

The resolution of the counties/rivers/states would need to be manually specified, it is using the defaults in the background! The county borders are highest resolution which is causing the difference here.

Yes, that figure is from the radar cookbook, but the issue shows up on my own plots as well.

How do I manually specify the resolution of the states? I tried a couple different ways and it plots the higher resolution border, but still keeps the lower res default.

Please see the explanation in the Project Pythia foundations content, walking through how to add features of different resolutions

If you are adding the features manually using

ax.add_feature(cfeature.STATES)

Make sure that you set embellish=False in the RadarMapDisplay.plot_ppi_map line

Yes, I think I have followed that, but the issue I am having is this - no matter what I do the lower resolution state boundary is there. I can add the higher resolution state boundary (which works), but I still see the lower resolution state boundary next to it.

Can you please share your script here? That will help troubleshoot

Awesome! I will try that and get back to you. Thank you for your help!

1 Like

It worked. Thank you!

1 Like