checking in changes
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user