diff --git a/docs/_toc.yml b/docs/_toc.yml index d3b9f907..7fb8573a 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -64,4 +64,4 @@ parts: file: clay-v0/data_labels - file: clay-v0-interpolation - title: Software release notes v0.1 - file: clay-v0/changelog-v1.0 \ No newline at end of file + file: clay-v0/changelog-v1.0 diff --git a/docs/tutorials/v1-inference-simsearch-naip-stacchip.ipynb b/docs/tutorials/v1-inference-simsearch-naip-stacchip.ipynb index 7eda5aea..68700397 100644 --- a/docs/tutorials/v1-inference-simsearch-naip-stacchip.ipynb +++ b/docs/tutorials/v1-inference-simsearch-naip-stacchip.ipynb @@ -54,9 +54,9 @@ "source": [ "import sys\n", "\n", - "sys.path.append(\"../../\") # Model src\n", + "sys.path.append(\"../../\") # Model src\n", "\n", - "# If the pip install for stacchip doesn't work above, \n", + "# If the pip install for stacchip doesn't work above,\n", "# git clone the repo and comment out the following with the path\n", "sys.path.append(\"../../../stacchip/\")" ] @@ -212,8 +212,10 @@ " indexer = NoStatsChipIndexer(item)\n", "\n", " # Obtain the item bounds and centroid\n", - " bounds, centroid_x, centroid_y = get_bounds_centroid(item.assets[\"image\"].href)\n", - " print(f\"Bounds coordinates: {bounds}, centroid coordinates: {centroid_x}, {centroid_y}\")\n", + " bounds, centroid_x, centroid_y = get_bounds_centroid(item.assets[\"image\"].href)\n", + " print(\n", + " f\"Bounds coordinates: {bounds}, centroid coordinates: {centroid_x}, {centroid_y}\"\n", + " )\n", "\n", " # Instantiate the chipper\n", " chipper = Chipper(indexer, asset_blacklist=[\"metadata\"])\n", @@ -494,7 +496,9 @@ " date = datetime.datetime.strptime(f\"{YEAR}-06-01\", \"%Y-%m-%d\")\n", " gsd = 0.6\n", "\n", - " lon, lat = box(bounding_box[0], bounding_box[1], bounding_box[2], bounding_box[3]).centroid.coords[0]\n", + " lon, lat = box(\n", + " bounding_box[0], bounding_box[1], bounding_box[2], bounding_box[3]\n", + " ).centroid.coords[0]\n", "\n", " datacube = prep_datacube(\n", " np.array(tile), lat, lon, pd.to_datetime(f\"{YEAR}-06-01\"), gsd, model.device\n",