Commit bc4df3fa authored by Paul Nicot's avatar Paul Nicot

maj

parent c0cb8ae6
......@@ -39,7 +39,7 @@ nametime = datetime.datetime.fromtimestamp(int(timestamp)).strftime('%Y%m%d%H%M
# Golfe du Saint-Laurent ---------------------------
# traces des x derniers jours dans l'estuaire
GSL = df[(df.FLAG == "OCN")& (df.TIME <= timestamp)
GSL = df[(df.FLAG == "OCN") & (df.TIME <= timestamp)
& (df.TIME > timestamp - shour*snake)]
plt.clf()
......@@ -65,8 +65,7 @@ for spot, group in GSL.groupby(['SPOT']):
longitude = group.LON.values
t = (group.TIME.values - dt) / diff
x,y = m(longitude, latitude)
cax = plt.scatter(x,y,c=t, s=
35, cmap=cmap,linewidth=0,vmin=0, vmax=1)
cax = plt.scatter(x,y,c=t, s=35, cmap=cmap,linewidth=0,vmin=0, vmax=1)
plt.plot(x,y,'k-',linewidth=0.5)
# colorbar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment