Skip to content

Commit

Permalink
Analiaz posnetkov po letih, mesecih
Browse files Browse the repository at this point in the history
  • Loading branch information
KrOstir committed Jul 3, 2018
1 parent 5e38070 commit b9c130b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Analiza časovne vrste.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"outputs": [],
"source": [
"# Število malo oblačnih posnetkov po mesecih\n",
"df_cl_m = df_cl[\"clouds\"].groupby([(df_cl.index.year),(df_cl.index.month)]).count()"
"df_cl[\"clouds\"].groupby([(df_cl.index.year),(df_cl.index.month)]).count()"
]
},
{
Expand All @@ -293,7 +293,18 @@
"metadata": {},
"outputs": [],
"source": [
"df_cl_m"
"# Število malo oblačnih posnetkov po letih\n",
"df_cl[\"clouds\"].groupby([(df_cl.index.year)]).count()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Število malo oblačnih posnetkov po mesecih\n",
"df_cl[\"clouds\"].groupby([(df_cl.index.month)]).count()"
]
},
{
Expand Down Expand Up @@ -461,8 +472,8 @@
" plt.plot(kat_ndvi[\"2017\"][item].dropna(), marker='o')\n",
" plt.title(item)\n",
" plt.ylim(ndvi_min, ndvi_max)\n",
" # plt.plot(kat_ndvi[\"2017\"][item].resample(\"7d\").mean().rolling(2).mean().dropna())\n",
" plt.plot(kat_ndvi[\"2017\"][item].rolling(6, min_periods=1).mean())\n",
" # Zglajena časovna vrsta\n",
" plt.plot(kat_ndvi[\"2017\"][item].rolling(6, min_periods=1, center=True, win_type=\"hamming\").mean())\n",
" plt.show()"
]
},
Expand Down

0 comments on commit b9c130b

Please sign in to comment.