Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2024
1 parent a756727 commit 07b935a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/stac-browser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: STAC-Browser
on: workflow_dispatch

env:
CATALOG_URL: 'https://raw.githubusercontent.com/${{ github.repository }}/main/catalogs/cesm1-lens-stratus/catalog.json'
TILE_SOURCE_TEMPLATE: 'https://api.cogeo.xyz/cog/tiles/{z}/{x}/{y}?url={ASSET_HREF}&expression=sqrt(b1)&rescale=0,1'
PATH_PREFIX: '/${{ github.event.repository.name }}/'
CATALOG_URL: "https://raw.githubusercontent.com/${{ github.repository }}/main/catalogs/cesm1-lens-stratus/catalog.json"
TILE_SOURCE_TEMPLATE: "https://api.cogeo.xyz/cog/tiles/{z}/{x}/{y}?url={ASSET_HREF}&expression=sqrt(b1)&rescale=0,1"
PATH_PREFIX: "/${{ github.event.repository.name }}/"

jobs:
build-and-deploy:
Expand Down
6 changes: 3 additions & 3 deletions catalogs/cesm1-lens-stratus/generate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
"\n",
" for link in result[\"links\"]:\n",
" if link[\"rel\"] == \"root\":\n",
" link[\n",
" \"href\"\n",
" ] = \"https://raw.githubusercontent.com/NCAR/stac-datastore/main/catalogs/cesm1-lens-stratus/catalog.json\"\n",
" link[\"href\"] = (\n",
" \"https://raw.githubusercontent.com/NCAR/stac-datastore/main/catalogs/cesm1-lens-stratus/catalog.json\"\n",
" )\n",
" link[\"rel\"] = str(link[\"rel\"])\n",
" link[\"type\"] = str(link[\"type\"])\n",
"\n",
Expand Down

0 comments on commit 07b935a

Please sign in to comment.