{ "cells": [ { "cell_type": "markdown", "id": "0", "metadata": {}, "source": [ "# Climate change analysis of hydrological data" ] }, { "cell_type": "code", "execution_count": null, "id": "1", "metadata": {}, "outputs": [], "source": [ "# Imports\n", "from pathlib import Path\n", "\n", "import hvplot.xarray # noqa\n", "import numpy as np\n", "import pooch\n", "import xarray as xr\n", "import xclim\n", "\n", "import xhydro as xh\n", "from xhydro.testing.helpers import deveraux\n", "\n", "D = deveraux()\n", "\n", "# Future streamflow file (1 file - Hydrotel driven by BCC-CSM-1.1(m))\n", "streamflow_file = D.fetch(\"cc_indicators/streamflow_BCC-CSM1.1-m_rcp45.nc\")\n", "\n", "# Reference mean annual streamflow (QMOYAN) for 6 calibrations of Hydrotel\n", "reference_files = D.fetch(\"cc_indicators/reference.zip\", pooch.Unzip())\n", "\n", "# Future deltas of QMOYAN (63 simulations x 6 calibrations of Hydrotel)\n", "deltas_files = D.fetch(\"cc_indicators/deltas.zip\", pooch.Unzip())" ] }, { "cell_type": "markdown", "id": "2", "metadata": {}, "source": [ "While there is a vast array of analyses that can be performed to assess the impacts of climate change on hydrology, this notebook covers some of the most common steps:\n", "\n", "- Computing a list of relevant indicators over climatological periods.\n", "- Computing future differences to assess the changes.\n", "- Computing ensemble statistics to evaluate future changes and variability.\n", "\n", "