gzip
This commit is contained in:
@@ -437,7 +437,8 @@ def interactive_windchart(id=0,promember=0):
|
||||
vwind = rowdata.df.ix[:,'vwind']
|
||||
winddirection = rowdata.df.ix[:,'winddirection']
|
||||
bearing = rowdata.df.ix[:,'winddirection']
|
||||
rowdata.write_csv(f1)
|
||||
rowdata.write_csv(f1,gzip=True)
|
||||
dataprep.update_strokedata(id,rowdata.df)
|
||||
|
||||
winddirection = winddirection % 360
|
||||
winddirection = (winddirection + 360) % 360
|
||||
@@ -520,7 +521,8 @@ def interactive_streamchart(id=0,promember=0):
|
||||
except KeyError:
|
||||
rowdata.add_stream(0)
|
||||
vstream = rowdata.df.ix[:,'vstream']
|
||||
rowdata.write_csv(f1)
|
||||
rowdata.write_csv(f1,gzip=True)
|
||||
dataprep.update_strokedata(id,rowdata.df)
|
||||
|
||||
# plot tools
|
||||
if (promember==1):
|
||||
|
||||
Reference in New Issue
Block a user