From f953a7939ac8bb512ebaf6c3b11b93a8edbaa3f9 Mon Sep 17 00:00:00 2001 From: dfelikson Date: Tue, 16 Jul 2024 11:21:54 -0700 Subject: [PATCH] Added descriptive text to the "Writing to the S3 bucket" section in Instructions_for_configuring_AWS_S3_bucket.ipynb; added an exception to _config.yml to prevent execution of this notebook when the Jupyter book is rebuilt. --- book/_config.yml | 4 ++-- .../Instructions_for_configuring_AWS_S3_bucket.ipynb | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index f2e3b69..3dd8ba2 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -44,8 +44,8 @@ parse: execute: execute_notebooks: 'force' # execute_notebooks: 'cache' -# exclude_patterns: -# - "**/dataintegration-1.ipynb" + exclude_patterns: + - "*Instructions_for_configuring_AWS_S3_bucket.ipynb" allow_errors: false # Per-cell notebook execution limit (seconds) diff --git a/book/how_tos/data_access/Instructions_for_configuring_AWS_S3_bucket.ipynb b/book/how_tos/data_access/Instructions_for_configuring_AWS_S3_bucket.ipynb index ef91a5c..388f7e6 100644 --- a/book/how_tos/data_access/Instructions_for_configuring_AWS_S3_bucket.ipynb +++ b/book/how_tos/data_access/Instructions_for_configuring_AWS_S3_bucket.ipynb @@ -2348,6 +2348,14 @@ "## Writing to the S3 bucket" ] }, + { + "cell_type": "markdown", + "id": "a80cd090", + "metadata": {}, + "source": [ + "The code snippet below will write a file directly to the S3 bucket. It then uses the `du` function to check the size of the file on the S3 bucket, in order to confirm that it was successfully written. More typically, a file can be written to local disk storage and then copied to the S3 bucket, rather than writing directly to the S3 bucket." + ] + }, { "cell_type": "code", "execution_count": 5, @@ -2400,7 +2408,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.8" + "version": "3.10.9" } }, "nbformat": 4,