Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions course_content/iris_course/4.Joining_Cubes_Together.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
"for cube in cubes:\n",
" if not cube.coords('realization'):\n",
" cube.add_aux_coord(iris.coords.DimCoord(np.int32(3),\n",
" 'realization'))\n",
" 'realization', units ='1'))\n",
"\n",
"merged_cube = cubes.merge_cube()\n",
"print(merged_cube)"
Expand Down Expand Up @@ -581,9 +581,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "default-current",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "default-current"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -595,7 +595,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.9.12"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions course_content/iris_course/7.Advanced_Concepts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
" basename = os.path.basename(fname)\n",
" if not cube.coords('realization') and basename.startswith('ensemble_'):\n",
" cube.add_aux_coord(iris.coords.DimCoord(np.int32(basename[-6:-3]),\n",
" 'realization'))\n",
" 'realization', units ='1'))\n",
"\n",
"print(iris.load_cube(fname, callback=realization_callback))"
]
Expand Down Expand Up @@ -534,7 +534,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -548,7 +548,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
"version": "3.9.12"
}
},
"nbformat": 4,
Expand Down