diff --git a/docs/source/user-stories/climatology-hourly-cubed.ipynb b/docs/source/user-stories/climatology-hourly-cubed.ipynb index 2277ed7f..be80b4f9 100644 --- a/docs/source/user-stories/climatology-hourly-cubed.ipynb +++ b/docs/source/user-stories/climatology-hourly-cubed.ipynb @@ -86,6 +86,37 @@ "source": [ "hourly.compute()" ] + }, + { + "cell_type": "markdown", + "id": "7", + "metadata": {}, + "source": [ + "## Other climatologies: resampling by month\n", + "\n", + "This uses the \"blockwise\" strategy." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8", + "metadata": {}, + "outputs": [], + "source": [ + "monthly = ds.tp.resample(time=\"ME\").sum(method=\"blockwise\")\n", + "monthly" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9", + "metadata": {}, + "outputs": [], + "source": [ + "monthly.compute()" + ] } ], "metadata": {