[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[AWIPS #RMV-424206]: snow squall warnings on EDEX server?
- Subject: [AWIPS #RMV-424206]: snow squall warnings on EDEX server?
- Date: Tue, 28 Dec 2021 11:23:16 -0700
Hi Russ,
I was able to get the notebook to throw an error yesterday when it encountered
an SQ.W record
(before making a change to the tables.py file):
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-5-6677622cc351> in <module>
47 # + " ("+str(poly.geom_type) + geom_count + ")")
48
---> 49 color = warning_color(phensigString)
50 shape_feature = ShapelyFeature(geoms,ccrs.PlateCarree(),
51 facecolor=color, edgecolor=color)
<ipython-input-1-cd96530bb2ee> in warning_color(phensig)
11
12 def warning_color(phensig):
---> 13 return vtec[phensig]['color']
14
15 def make_map(bbox, projection=ccrs.PlateCarree()):
KeyError: 'SQ.W'
So, I do believe you will need to make a change in order to get your notebook
to work
properly, unless you put some more logic in the "warning_color" function to
handle a
null pointer basically.
--Shay Carter
She/Her/Hers
AWIPS Software Engineer
UCAR - Unidata
If you're interested, please feel free to fill out a survey about the support
you receive:
https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform
Ticket Details
===================
Ticket ID: RMV-424206
Department: Support AWIPS
Priority: Normal
Status: Open
===================
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.