Uh oh!
There was an error while loading. Please reload this page.
Rename, edit and link notebooks - #74
Conversation
* Rename files * Check and update internal and external links * Consistent capitalization for Xarray-Spatial * Begin editing for style and consistency * Finish editing for style and consistency * Update next steps section for classification nb
Tom Augspurger (TomAugspurger)
commented
Aug 31, 2021
Thanks. I believe the README links to these notebooks. Can you make sure those links are updated? |
Tom Augspurger (TomAugspurger)
commented
Aug 31, 2021
And FYI, proximity has been merged now. |
Tom Augspurger (@TomAugspurger) Thanks for your feedback! My recent commits add the proximity notebook and also update the links in README.md. |
thuydotm
commented
Sep 1, 2021
Thanks Tom Augspurger (@TomAugspurger) I'm noticing some error when searching for STAC items using bounds= [-57.151965, -2.530125, -55.710724, -1.179033]
catalog=pystac_client.Client.open(
"https://planetarycomputer-staging.microsoft.com/api/stac/v1"
)
jrc=catalog.search(collections=["jrc-gsw"], bbox=bounds)
items=list(jrc.get_items())
print(f"Returned {len(items)} Items")---------------------------------------------------------------------------NotImplementedErrorTraceback (mostrecentcalllast)
/tmp/ipykernel_359/2968004645.pyin<module>4"https://planetarycomputer-staging.microsoft.com/api/stac/v1"5 )
---->6jrc=catalog.search(collections=["jrc-gsw"], bbox=bounds)
78items=list(jrc.get_items())
/srv/conda/envs/notebook/lib/python3.8/site-packages/pystac_client/client.pyinsearch(self, **kwargs)
166'No link with "rel" type of "search" could be found in this catalog')
167-->168returnItemSearch(search_link.target, stac_io=self._stac_io, client=self, **kwargs)
/srv/conda/envs/notebook/lib/python3.8/site-packages/pystac_client/item_search.pyin__init__(self, url, limit, bbox, datetime, intersects, ids, collections, query, sortby, fields, max_items, method, stac_io, client)
171else:
172self._stac_io=StacApiIO()
-->173self._stac_io.assert_conforms_to(ConformanceClasses.ITEM_SEARCH)
174175self._max_items=max_items/srv/conda/envs/notebook/lib/python3.8/site-packages/pystac_client/stac_api_io.pyinassert_conforms_to(self, conformance_class)
212 """
213 if not self.conforms_to(conformance_class):
--> 214 raise NotImplementedError(f"{conformance_class} not supported")
215else:
216returnTrueNotImplementedError: ConformanceClasses.ITEM_SEARCHnotsupported |
Tom Augspurger (TomAugspurger)
commented
Sep 1, 2021
The staging deployment is going through some changes. Does using |
Thanks for the insights. The staging doesn't work. |
Tom Malone (@tom) this PR should now be up to date with main. It now also includes the census notebook which I renamed to fit the pattern of the other notebooks. I also added a link to the next notebook at the end, as we have for all the other notebooks. I think this PR is now ready to merge! |
This PR updates all tutorial notebooks that are currently in the
tutorialsfolder of themainbranch. Two notebooks (census and proximity) have not been merged yet and therefore are not included in this PR. I will update this PR to include those two notebooks once they have been merged.All notebooks now follow a consistent file naming pattern. This includes numbering all notebooks in the following order:
The basic thoughts behind this order:
Other than renaming and ordering notebooks, this PR includes the following updates:
Since the Landcover Classification was note created by makepath, this PR only changes the filename but leaves the file unchanged otherwise.