From 01e716251732926d0320da2e60be4e103e0e2d18 Mon Sep 17 00:00:00 2001 From: Tyler Erickson Date: Thu, 22 Feb 2024 17:36:30 -0800 Subject: [PATCH 1/3] Add link for tutorial --- fundamentals/01_datastructures.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fundamentals/01_datastructures.ipynb b/fundamentals/01_datastructures.ipynb index 280600b4..202d07d4 100644 --- a/fundamentals/01_datastructures.ipynb +++ b/fundamentals/01_datastructures.ipynb @@ -75,7 +75,7 @@ "multi-dimensional arrays while `Dataset` combines multiple arrays.\n", "\n", "Both classes are most commonly created by reading data.\n", - "To learn how to create a DataArray or Dataset manually, see the **Working with labeled data** tutorial.\n", + "To learn how to create a DataArray or Dataset manually, see the [Creating Data Structures](01.1_creating_data_structures.html) tutorial.\n", "\n", "Xarray has a few small real-world tutorial datasets hosted in this GitHub repository https://github.com/pydata/xarray-data.\n", "We'll use the [xarray.tutorial.load_dataset](https://docs.xarray.dev/en/stable/generated/xarray.tutorial.open_dataset.html#xarray.tutorial.open_dataset) convenience function to download and open the `air_temperature` (National Centers for Environmental Prediction) Dataset by name." From bf200b6cee1df71291027673fed9a89708bbe2fc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 01:37:42 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .devcontainer/devcontainer.json | 14 +++++++------- .devcontainer/scipy2023/devcontainer.json | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5afe6e2f..68794f5b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,20 +1,20 @@ { "build": { "dockerfile": "./Dockerfile", - "context": "../conda", + "context": "../conda" }, "postCreateCommand": { - "vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json", + "vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json" }, "hostRequirements": { - "cpus": 2, + "cpus": 2 }, "customizations": { "codespaces": { - "openFiles": ["README.md"], + "openFiles": ["README.md"] }, "vscode": { - "extensions": ["ms-toolsai.jupyter", "ms-python.python"], - }, - }, + "extensions": ["ms-toolsai.jupyter", "ms-python.python"] + } + } } diff --git a/.devcontainer/scipy2023/devcontainer.json b/.devcontainer/scipy2023/devcontainer.json index 2bd50629..353cfda4 100644 --- a/.devcontainer/scipy2023/devcontainer.json +++ b/.devcontainer/scipy2023/devcontainer.json @@ -1,21 +1,21 @@ { "build": { "dockerfile": "../Dockerfile", - "context": "../../conda", + "context": "../../conda" }, "postCreateCommand": { "jupyterlab": "mkdir /home/jovyan/.jupyter && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/jupyter_lab_config.py /home/jovyan/.jupyter/jupyter_lab_config.py", - "vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json", + "vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json" }, "hostRequirements": { - "cpus": 2, + "cpus": 2 }, "customizations": { "codespaces": { - "openFiles": ["workshops/scipy2023/README.md"], + "openFiles": ["workshops/scipy2023/README.md"] }, "vscode": { - "extensions": ["ms-toolsai.jupyter", "ms-python.python"], - }, - }, + "extensions": ["ms-toolsai.jupyter", "ms-python.python"] + } + } } From c2e329304684cc883e32a58617afe5065bf353d2 Mon Sep 17 00:00:00 2001 From: Tyler Erickson Date: Fri, 23 Feb 2024 09:19:46 -0800 Subject: [PATCH 3/3] Correct file extension. Co-authored-by: Scott Henderson --- fundamentals/01_datastructures.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fundamentals/01_datastructures.ipynb b/fundamentals/01_datastructures.ipynb index 202d07d4..655a1795 100644 --- a/fundamentals/01_datastructures.ipynb +++ b/fundamentals/01_datastructures.ipynb @@ -75,7 +75,7 @@ "multi-dimensional arrays while `Dataset` combines multiple arrays.\n", "\n", "Both classes are most commonly created by reading data.\n", - "To learn how to create a DataArray or Dataset manually, see the [Creating Data Structures](01.1_creating_data_structures.html) tutorial.\n", + "To learn how to create a DataArray or Dataset manually, see the [Creating Data Structures](01.1_creating_data_structures.ipynb) tutorial.\n", "\n", "Xarray has a few small real-world tutorial datasets hosted in this GitHub repository https://github.com/pydata/xarray-data.\n", "We'll use the [xarray.tutorial.load_dataset](https://docs.xarray.dev/en/stable/generated/xarray.tutorial.open_dataset.html#xarray.tutorial.open_dataset) convenience function to download and open the `air_temperature` (National Centers for Environmental Prediction) Dataset by name."