From ec41d5a83bcc27c8ac58cc508d554bbfae90131c Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Fri, 1 Nov 2024 11:14:35 -0400 Subject: [PATCH] [pre-commit.ci] Apply import ordering to Jupyter notebooks. --- docs/HOSS_DAAC_Operator_Documentation.ipynb | 4 ++-- docs/HOSS_User_Documentation.ipynb | 1 - docs/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/HOSS_DAAC_Operator_Documentation.ipynb b/docs/HOSS_DAAC_Operator_Documentation.ipynb index c13ae67..532c86f 100644 --- a/docs/HOSS_DAAC_Operator_Documentation.ipynb +++ b/docs/HOSS_DAAC_Operator_Documentation.ipynb @@ -93,8 +93,8 @@ "from datetime import datetime\n", "from os import replace\n", "\n", - "from harmony import BBox, Client, Collection, Environment, Request\n", - "import xarray as xr" + "import xarray as xr\n", + "from harmony import BBox, Client, Collection, Environment, Request" ] }, { diff --git a/docs/HOSS_User_Documentation.ipynb b/docs/HOSS_User_Documentation.ipynb index 589fdc9..6f61165 100644 --- a/docs/HOSS_User_Documentation.ipynb +++ b/docs/HOSS_User_Documentation.ipynb @@ -94,7 +94,6 @@ "source": [ "from harmony import BBox, Client, Collection, Environment, Request\n", "\n", - "\n", "harmony_client = Client(env=Environment.UAT)\n", "\n", "demo_directory = '.'\n", diff --git a/docs/requirements.txt b/docs/requirements.txt index dd7a29c..700910c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -16,5 +16,5 @@ # harmony-py~=0.4.10 netCDF4~=1.6.4 -notebook~=7.0.4 +notebook~=7.2.2 xarray~=2023.9.0