diff --git a/notebooks/part0_python_intro/10a_Rasterio_intro.ipynb b/notebooks/part0_python_intro/10a_Rasterio_intro.ipynb index 77178c6f..c0feddd5 100644 --- a/notebooks/part0_python_intro/10a_Rasterio_intro.ipynb +++ b/notebooks/part0_python_intro/10a_Rasterio_intro.ipynb @@ -411,6 +411,16 @@ "plt.colorbar();" ] }, + { + "cell_type": "markdown", + "id": "25d8b2e0-90b4-4a4c-b7b6-7cfa0fb8d01b", + "metadata": {}, + "source": [ + "**Looks the same! But notice the new units on the colobar scale.**\n", + "\n", + "Now let's save this raster to a new file." + ] + }, { "cell_type": "markdown", "id": "88c7f772-9219-4be0-bbe6-791cfbb6ea0f", @@ -450,16 +460,6 @@ "cbar.ax.set_yticklabels(['Low Elev. ', 'Mid Elev.', 'High Elev.']);" ] }, - { - "cell_type": "markdown", - "id": "25d8b2e0-90b4-4a4c-b7b6-7cfa0fb8d01b", - "metadata": {}, - "source": [ - "**Looks the same! But notice the new units on the colobar scale.**\n", - "\n", - "Now let's save this raster to a new file." - ] - }, { "cell_type": "markdown", "id": "93db6aca-4edc-4f14-b673-dcd87d23844c", @@ -815,6 +815,18 @@ "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.2" } }, "nbformat": 4, diff --git a/notebooks/part0_python_intro/solutions/10a_Rasterio_into.ipynb b/notebooks/part0_python_intro/solutions/10a_Rasterio_into.ipynb index 474362bd..821953e8 100644 --- a/notebooks/part0_python_intro/solutions/10a_Rasterio_into.ipynb +++ b/notebooks/part0_python_intro/solutions/10a_Rasterio_into.ipynb @@ -640,6 +640,16 @@ "plt.colorbar();" ] }, + { + "cell_type": "markdown", + "id": "25d8b2e0-90b4-4a4c-b7b6-7cfa0fb8d01b", + "metadata": {}, + "source": [ + "**Looks the same! But notice the new units on the colobar scale.**\n", + "\n", + "Now let's save this raster to a new file." + ] + }, { "cell_type": "markdown", "id": "88c7f772-9219-4be0-bbe6-791cfbb6ea0f", @@ -690,16 +700,6 @@ "cbar.ax.set_yticklabels(['Low Elev. ', 'Mid Elev.', 'High Elev.']);" ] }, - { - "cell_type": "markdown", - "id": "25d8b2e0-90b4-4a4c-b7b6-7cfa0fb8d01b", - "metadata": {}, - "source": [ - "**Looks the same! But notice the new units on the colobar scale.**\n", - "\n", - "Now let's save this raster to a new file." - ] - }, { "cell_type": "markdown", "id": "93db6aca-4edc-4f14-b673-dcd87d23844c", @@ -732,7 +732,7 @@ "\n", "Geospatial coordinate reference systems are typically defined on a cartesian plane with the 0,0 origin in the bottom left. Raster data uses a different referencing system. Rows and columns with the 0,0 origin in the upper left and rows increase and you move down while the columns increase as you go right.\n", "\n", - "![title](data/rasterio/xyrowcol.png)\n", + "![title](../data/rasterio/xyrowcol.png)\n", "\n", "Image from https://www.perrygeo.com/python-affine-transforms.html. More info on the Python [Affine](https://affine.readthedocs.io/en/latest/) library. " ] @@ -1198,7 +1198,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.11" + "version": "3.12.2" } }, "nbformat": 4,