Private
Public Access
1
0

checking in changes

This commit is contained in:
Sander Roosendaal
2020-02-08 10:20:32 +01:00
parent 6bdf9216f2
commit e515141429
6 changed files with 41 additions and 19 deletions

View File

@@ -2680,7 +2680,10 @@ def interactive_windchart(id=0,promember=0):
if rowdata == 0:
return 0
dist = rowdata.df.loc[:,'cum_dist']
try:
dist = rowdata.df.loc[:,'cum_dist']
except KeyError:
return ['','No Data Found']
try:
vwind = rowdata.df.loc[:,'vwind']
@@ -2770,7 +2773,10 @@ def interactive_streamchart(id=0,promember=0):
if rowdata == 0:
return "","No Valid Data Available"
dist = rowdata.df.loc[:,'cum_dist']
try:
dist = rowdata.df.loc[:,'cum_dist']
except KeyError:
return ['','No Data found']
try:
vstream = rowdata.df.loc[:,'vstream']