[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #IAS-878726]: County boundaries on radar image


I don't. Do you have a cities as a text file? If so, it should be easy to load 
in Python; then you could plot their text names using MetPy's station plot:


If you have a shape file, I'm not sure how to pull things apart. Feel free to 
request that as an example here:



> Hi again Ryan,
> Do you have an example that plots cities as well?
> Thanks,
> -- Matt
> address@hidden> wrote:
> > Matt,
> >
> > We don't have any way to do this right now that is as simple, though it's
> > on the list:
> >
> > https://github.com/Unidata/MetPy/issues/447
> >
> > Feel free to comment there if it's important to you that we include such
> > functionality.
> >
> > CartoPy has the ability to display arbitrary shape files, but it's making
> > access to the shape file simple that is the hold up.
> >
> > Here's an example notebook that shows displaying radar data against our
> > own copy of a county borders shape file:
> >
> > https://github.com/Unidata/unidata-python-workshop/blob/
> > master/failing_notebooks/Siphon%20Radar%20Server.ipynb
> >
> > It *should* be straightforward to adapt that to display any of the shape
> > files in e.g. AWIPS. Feel free to write back if you can't quite make it
> > work.
> >
> > Ryan

Ticket Details
Ticket ID: IAS-878726
Department: Support Python
Priority: Low
Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.