Skip to content

Commit

Permalink
New GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienlanglois committed Feb 24, 2021
1 parent f9bb659 commit e264106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Weather_viz_hist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1725,10 +1725,10 @@
" logx=False\n",
" rot=0\n",
" time_index = df.loc[df.index.unique()[df.index.unique().get_loc(pd.to_datetime(date), method='nearest')]].index.unique()\n",
" df1 = df.loc[df.index.isin([time_index.strftime('%Y-%m-%d %H:%M:%S')[0]])]\n",
" df1 = df.loc[time_index]\n",
"\n",
" time_index2 = df.loc[df.index.unique()[df.index.unique().get_loc(pd.to_datetime(date) + datetime.timedelta(hours=12), method='nearest')]].index.unique()\n",
" df2 = df.loc[df.index.isin([time_index2.strftime('%Y-%m-%d %H:%M:%S')[0]])]\n",
" df2 = df.loc[time_index2]\n",
" \n",
" if variable == 'hgt':\n",
" logx=True\n",
Expand Down

0 comments on commit e264106

Please sign in to comment.