From ac5ea0315fc33391079bbcc8ba15c4c1556b0793 Mon Sep 17 00:00:00 2001 From: Default user Date: Thu, 15 Aug 2024 23:07:55 +0000 Subject: [PATCH 1/6] Center images --- .../cloud-computing/03-cloud-optimized-data-access.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index f973546..1ef2866 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -36,14 +36,14 @@ "\n", "```{image} ./images/hdf5-structure-1.jpg\n", ":width: 450px\n", - ":align: left\n", + ":align: center\n", "```\n", "\n", "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", "\n", "```{image} ./images/hdf5-structure-2.png\n", ":width: 450px\n", - ":align: left\n", + ":align: center\n", "```\n", "\n", "A structured data file is composed of two parts: **metadata** and the **raw data**. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze.\n", From 0476660d8cb82f6845aeb65a8f4eea0ddd6224de Mon Sep 17 00:00:00 2001 From: Default user Date: Thu, 15 Aug 2024 23:14:04 +0000 Subject: [PATCH 2/6] Try left align with clear --- .../03-cloud-optimized-data-access.ipynb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index 1ef2866..df88d6d 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -34,22 +34,25 @@ "\n", "## Anatomy of a structured data file\n", "\n", - "```{image} ./images/hdf5-structure-1.jpg\n", + "\n", + "```{image} ./images/hdf5-structure-2.png\n", ":width: 450px\n", - ":align: center\n", + ":align: left\n", "```\n", "\n", - "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", - "\n", - "```{image} ./images/hdf5-structure-2.png\n", + "```{image} ./images/hdf5-structure-1.jpg\n", ":width: 450px\n", - ":align: center\n", + ":align: left\n", "```\n", "\n", + "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", + "\n", "A structured data file is composed of two parts: **metadata** and the **raw data**. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze.\n", "\n", "We can optimize this structure for reading from cloud storage.\n", "\n", + "
\n", + "\n", "## How do we accomplish cloud-optimization?\n", "\n", "### An analogy - Moving away from home\n", From 97cd579997b5b40e295180b7d9de1249e459ca47 Mon Sep 17 00:00:00 2001 From: Default user Date: Thu, 15 Aug 2024 23:18:32 +0000 Subject: [PATCH 3/6] Center bottom --- .../cloud-computing/03-cloud-optimized-data-access.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index df88d6d..bb102d5 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -41,13 +41,13 @@ "```\n", "\n", "```{image} ./images/hdf5-structure-1.jpg\n", - ":width: 450px\n", - ":align: left\n", + ":width: 600px\n", + ":align: center\n", "```\n", "\n", - "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", + "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", "\n", - "A structured data file is composed of two parts: **metadata** and the **raw data**. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze.\n", + "

A structured data file is composed of two parts: **metadata** and the **raw data**. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze.

\n", "\n", "We can optimize this structure for reading from cloud storage.\n", "\n", From 4df4ce5a712df3d32394af65ac4b283966c5a75a Mon Sep 17 00:00:00 2001 From: Default user Date: Fri, 16 Aug 2024 00:09:41 +0000 Subject: [PATCH 4/6] Try another formatting structure --- .../cloud-computing/03-cloud-optimized-data-access.ipynb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index bb102d5..526aa22 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -34,20 +34,21 @@ "\n", "## Anatomy of a structured data file\n", "\n", + "Below are 2 similar images showing the structure of an HDF5 file.\n", "\n", "```{image} ./images/hdf5-structure-2.png\n", ":width: 450px\n", ":align: left\n", "```\n", "\n", + "

A structured data file is composed of two parts: metadata and the raw data. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze. Many geospatial file formats, such as GeoTIFF, are composed of metadata and data.

\n", + "\n", "```{image} ./images/hdf5-structure-1.jpg\n", ":width: 600px\n", - ":align: center\n", + ":align: left\n", "```\n", "\n", - "

img source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", - "\n", - "

A structured data file is composed of two parts: **metadata** and the **raw data**. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze.

\n", + "

Image source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", "\n", "We can optimize this structure for reading from cloud storage.\n", "\n", From 089f4193228f1150d0b630a8c4a0fbe3ef57694f Mon Sep 17 00:00:00 2001 From: Default user Date: Fri, 16 Aug 2024 03:14:16 +0000 Subject: [PATCH 5/6] Use center alignment --- .../03-cloud-optimized-data-access.ipynb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index 526aa22..bb6c5df 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -34,29 +34,27 @@ "\n", "## Anatomy of a structured data file\n", "\n", - "Below are 2 similar images showing the structure of an HDF5 file.\n", - "\n", "```{image} ./images/hdf5-structure-2.png\n", ":width: 450px\n", - ":align: left\n", + ":align: center\n", "```\n", "\n", "

A structured data file is composed of two parts: metadata and the raw data. Metadata is information about the data, such as the data shape, data type, the data variables, the data's coordinate system, and how the data is stored, such as chunk shape and compression. Data is the actual data that you want to analyze. Many geospatial file formats, such as GeoTIFF, are composed of metadata and data.

\n", "\n", "```{image} ./images/hdf5-structure-1.jpg\n", ":width: 600px\n", - ":align: left\n", + ":align: center\n", "```\n", "\n", - "

Image source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", + "

Image source: https://www.neonscience.org/resources/learning-hub/tutorials/about-hdf5

\n", "\n", "We can optimize this structure for reading from cloud storage.\n", "\n", "
\n", "\n", - "## How do we accomplish cloud-optimization?\n", + "## When optimizing for the cloud, what structure should be used?\n", "\n", - "### An analogy - Moving away from home\n", + "### Brainstorming by way of a \"moving away from home\" analogy\n", "\n", "Imagine when you lived at home with your parents. Everything was right there when you needed it (like local file storage). Let's say you're about to move away to college (the cloud), but you have decided to backpack there and so you can't bring any of your belongings with you. You put everything in your parent's (infinitely large) garage (cloud object storage). Given you would need to have things shipped to you, would it be better to leave everything unpacked? To put everything all in one box? A few different boxes? And what would be the most efficient way for your parents to know where things were when you asked for them?\n", "\n", From 81a25c5820cff401aaa5b866b82873cc9be0c2cb Mon Sep 17 00:00:00 2001 From: Default user Date: Fri, 16 Aug 2024 03:14:52 +0000 Subject: [PATCH 6/6] Change title --- .../cloud-computing/03-cloud-optimized-data-access.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb index bb6c5df..09f7de9 100644 --- a/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb +++ b/book/tutorials/cloud-computing/03-cloud-optimized-data-access.ipynb @@ -54,7 +54,7 @@ "\n", "## When optimizing for the cloud, what structure should be used?\n", "\n", - "### Brainstorming by way of a \"moving away from home\" analogy\n", + "### A \"moving away from home\" analogy\n", "\n", "Imagine when you lived at home with your parents. Everything was right there when you needed it (like local file storage). Let's say you're about to move away to college (the cloud), but you have decided to backpack there and so you can't bring any of your belongings with you. You put everything in your parent's (infinitely large) garage (cloud object storage). Given you would need to have things shipped to you, would it be better to leave everything unpacked? To put everything all in one box? A few different boxes? And what would be the most efficient way for your parents to know where things were when you asked for them?\n", "\n",