Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KatharinaBuelow committed Jun 28, 2024
1 parent c80034d commit 1dd3d8d
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions notebooks/TG_computation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"id": "7d933619-f11a-409c-b0d2-ffaa7ba97a70",
"metadata": {},
"source": [
"# Compute climate index TG ('Mean daily mean temperature'). The computation in the back is taken from the python module xclim"
"# The computation in the back is taken from the python module xclim"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "4d65f026-a13e-4ffb-982c-f45877f1f844",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
Expand All @@ -23,7 +25,9 @@
"cell_type": "code",
"execution_count": 2,
"id": "c38fdb47-537a-4af7-aacf-979d09729476",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"import warnings\n",
Expand All @@ -35,8 +39,22 @@
"cell_type": "code",
"execution_count": 3,
"id": "ce29dcc7-1d1f-453c-ac21-79bff53f5275",
"metadata": {},
"outputs": [],
"metadata": {
"tags": []
},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'index_calculator'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[3], line 3\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyhomogenize\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m open_xrdataset\n\u001b[0;32m----> 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mindex_calculator\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mxcalc\u001b[39;00m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'index_calculator'"
]
}
],
"source": [
"from pyhomogenize import open_xrdataset\n",
"\n",
Expand Down Expand Up @@ -4177,7 +4195,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.10.0"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1dd3d8d

Please sign in to comment.