Skip to content

Commit

Permalink
Legend generation DORADE-proofing and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
es5nhc committed Mar 18, 2018
1 parent 4846115 commit 69ccecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ def showrendered(pilt):
w.itemconfig(radaripilt,image=rendered)
def init_drawlegend(product,tabel):
global currentDisplay
if product in [99, "VRAD", "VRADH", "VRADV", "VRADDH", "VRADDV"]:
if product in [99, "VRAD", "VRADH", "VRADV", "VRADDH", "VRADDV", "VE", "VC", "VF"]:
drawlegend(99,-80,80,tabel)
elif product in [159, "ZDR", "LZDR"]:
drawlegend(159,-6,6,tabel)
Expand All @@ -1246,7 +1246,7 @@ def init_drawlegend(product,tabel):
drawlegend("HCLASS",1,7,tabel)
elif product in ["DBZ", "TH", "TV", "DBZH", "DBZV"]:
drawlegend(94,-25,75,tabel)
elif product == ["WRAD","WRADH","WRADV","SW","VW"]:
elif product in ["WRAD","WRADH","WRADV","SW","VW"]:
drawlegend("SW",0,30,tabel)
elif product == "PHIDP":
drawlegend("PHIDP",0,180,tabel)
Expand Down

0 comments on commit 69ccecc

Please sign in to comment.