Skip to content

Commit

Permalink
no exp
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Apr 16, 2024
1 parent ca79293 commit 027c170
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions notebooks/wp4/cmip6_energy_indices.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
"cell_type": "code",
"execution_count": null,
"id": "2",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"outputs": [],
"source": [
"import math\n",
Expand All @@ -40,7 +46,13 @@
{
"cell_type": "markdown",
"id": "3",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"source": [
"## Define parameters"
]
Expand All @@ -49,16 +61,21 @@
"cell_type": "code",
"execution_count": null,
"id": "4",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": [
"parameters"
]
},
"outputs": [],
"source": [
"# Time period\n",
"year_start = 1971\n",
"year_stop = 2000\n",
"\n",
"# Choose CMIP6 experiment\n",
"experiment = \"historical\"\n",
"\n",
"# Choose annual or seasonal timeseries\n",
"index_timeseries = {\n",
" \"HDD15.5\": \"DJF\",\n",
Expand Down Expand Up @@ -156,7 +173,7 @@
"request_cmip6 = {\n",
" \"format\": \"zip\",\n",
" \"temporal_resolution\": \"daily\",\n",
" \"experiment\": experiment,\n",
" \"experiment\": \"historical\",\n",
" \"variable\": \"near_surface_air_temperature\",\n",
" \"year\": [\n",
" str(year) for year in range(year_start - 1, year_stop + 1)\n",
Expand Down

0 comments on commit 027c170

Please sign in to comment.