" # there is one model where there are 2 paths for the same ensemble member...\n",
" print(\"CAUTION: The model '\" + model + \"' provides \" + str(len(paths)) + \" paths for the ensemble member '\" + emember + \"', we have to think about what to do here\")\n",
" return None\n",
" if model == 'EC-Earth3-Veg' and emember == 'r10i1p1f1':\n",
" print(\" Ensemble-member '\"+emember+ \"' does not provide all years. It also does not occur in Matthew#s data, so its not included here.\")\n",
" return None\n",
" else:\n",
"\n",
" data = xr.open_mfdataset(paths[0], concat_dim=\"time\").tos\n",
...
...
@@ -168,7 +171,7 @@
},
{
"cell_type": "code",
"execution_count": 54,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -188,7 +191,7 @@
},
{
"cell_type": "code",
"execution_count": 154,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -230,7 +233,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 9,
"metadata": {},
"outputs": [
{
...
...
@@ -276,6 +279,82 @@
"What is the difference and which is the right one?"
"Somehow, there are a lot of years missing in the data, see e.g. the jump from 1861 to 1892. But this ensemble member does also not occur in Matthew's data, so we should simply exclude it manually when creating the full dataset."