Skip to content

Commit

Permalink
Update staging links
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Augspurger committed Jan 26, 2023
1 parent 39dde23 commit f1019c5
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
28 changes: 14 additions & 14 deletions datasets/esa-cci/esa-cci-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
" <h3 style=\"margin-bottom: 0px; display: inline;\">Asset: TileJSON with default rendering</h3>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>href</strong>: https://planetarycomputer-staging.microsoft.com/api/data/v1/item/tilejson.json?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>href</strong>: https://planetarycomputer.microsoft.com/api/data/v1/item/tilejson.json?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Title:</strong> TileJSON with default rendering </td></tr>\n",
" \n",
Expand Down Expand Up @@ -558,7 +558,7 @@
" <h3 style=\"margin-bottom: 0px; display: inline;\">Asset: Rendered preview</h3>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>href</strong>: https://planetarycomputer-staging.microsoft.com/api/data/v1/item/preview.png?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>href</strong>: https://planetarycomputer.microsoft.com/api/data/v1/item/preview.png?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Title:</strong> Rendered preview </td></tr>\n",
" \n",
Expand Down Expand Up @@ -606,7 +606,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> collection </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand All @@ -632,7 +632,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> parent </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand All @@ -658,7 +658,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> root </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/ </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/ </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand All @@ -684,7 +684,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> self </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc/items/C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180 </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc/items/C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180 </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/geo+json </td></tr>\n",
" \n",
Expand Down Expand Up @@ -712,7 +712,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> derived_from </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc-netcdf/items/C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1 </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc-netcdf/items/C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1 </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand Down Expand Up @@ -740,7 +740,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> preview </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/data/v1/item/map?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180 </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/data/v1/item/map?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2020-v2.1.1-S90W180 </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> text/html </td></tr>\n",
" \n",
Expand Down Expand Up @@ -780,7 +780,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> items </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc/items </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc/items </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/geo+json </td></tr>\n",
" \n",
Expand All @@ -806,7 +806,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> parent </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/ </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/ </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand Down Expand Up @@ -860,7 +860,7 @@
" \n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr><td style=\"text-align: left;\"><strong>Rel:</strong> self </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer-staging.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" <tr><td style=\"text-align: left;\"><strong>Target:</strong> https://planetarycomputer.microsoft.com/api/stac/v1/collections/esa-cci-lc </td></tr>\n",
" \n",
" <tr><td style=\"text-align: left;\"><strong>Media Type:</strong> application/json </td></tr>\n",
" \n",
Expand Down Expand Up @@ -1203,7 +1203,7 @@
"\n",
"# Open the Planetary Computer STAC API\n",
"catalog = pystac_client.Client.open(\n",
" \"https://planetarycomputer-staging.microsoft.com/api/stac/v1/\",\n",
" \"https://planetarycomputer.microsoft.com/api/stac/v1/\",\n",
" modifier=planetary_computer.sign_inplace,\n",
")\n",
"collection = catalog.get_collection(\"esa-cci-lc\")\n",
Expand Down Expand Up @@ -1260,7 +1260,7 @@
{
"data": {
"text/html": [
"<img src=\"https://planetarycomputer-staging.microsoft.com/api/data/v1/item/preview.png?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2017-v2.1.1-N00W135&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png\"/>"
"<img src=\"https://planetarycomputer.microsoft.com/api/data/v1/item/preview.png?collection=esa-cci-lc&item=C3S-LC-L4-LCCS-Map-300m-P1Y-2017-v2.1.1-N00W135&assets=lccs_class&tile_format=png&colormap_name=esa-cci-lc&format=png\"/>"
],
"text/plain": [
"<IPython.core.display.Image object>"
Expand Down Expand Up @@ -2079,7 +2079,7 @@
"import requests\n",
"\n",
"classmap = requests.get(\n",
" \"https://planetarycomputer-staging.microsoft.com/api/data/v1/legend/classmap/esa-cci-lc\"\n",
" \"https://planetarycomputer.microsoft.com/api/data/v1/legend/classmap/esa-cci-lc\"\n",
").json()\n",
"classmap"
]
Expand Down
2 changes: 1 addition & 1 deletion datasets/fws-nwi/fws-nwi-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"import planetary_computer\n",
"from pystac_client import Client\n",
"\n",
"URL = \"https://planetarycomputer-staging.microsoft.com/api/stac/v1/\"\n",
"URL = \"https://planetarycomputer.microsoft.com/api/stac/v1/\"\n",
"client = Client.open(URL, modifier=planetary_computer.sign_inplace)\n",
"collection = client.get_collection(\"fws-nwi\")\n",
"print(collection)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"\n",
"# Open the Planetary Computer STAC API\n",
"catalog = pystac_client.Client.open(\n",
" \"https://planetarycomputer-staging.microsoft.com/api/stac/v1/\",\n",
" \"https://planetarycomputer.microsoft.com/api/stac/v1/\",\n",
" modifier=planetary_computer.sign_inplace,\n",
")\n",
"collection = catalog.get_collection(\"noaa-climate-normals-gridded\")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"\n",
"# Open the Planetary Computer STAC API\n",
"catalog = pystac_client.Client.open(\n",
" \"https://planetarycomputer-staging.microsoft.com/api/stac/v1\",\n",
" \"https://planetarycomputer.microsoft.com/api/stac/v1\",\n",
" modifier=planetary_computer.sign_inplace,\n",
")\n",
"\n",
Expand Down
Loading

0 comments on commit f1019c5

Please sign in to comment.