-
Notifications
You must be signed in to change notification settings - Fork 122
Update landsat tutorial notebook #1152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5378d7c
to
c07ae76
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1152 +/- ##
==========================================
+ Coverage 91.99% 92.06% +0.07%
==========================================
Files 51 50 -1
Lines 6792 6708 -84
Branches 1000 990 -10
==========================================
- Hits 6248 6176 -72
+ Misses 368 357 -11
+ Partials 176 175 -1 ☔ View full report in Codecov by Sentry. |
General comments:
Macro comment:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Just a few comments of note.
On your macro comment: it feels to me that this notebook is a little special. It's not just an example of how to build a STAC, but how to build a real-world STAC, in some sense. There are already examples of how to build a Catalog and how to use extensions. This is specifically about talking through the process of taking a real data set and building a Catalog for it. For this data set, that means a complete job is going to be a bit heavier in terms of the extensions that are required. I agree that examples should get the point across parsimoniously, in general, but this isn't strictly an example about how to use the API, but what it takes to pack a real data set into a complete STAC. If the argument is that there are better places to do this, then I might not disagree. Maybe the stactools-packages repos serve this function better. In which case, the question is do we remove this notebook entirely and just add a pointer to W.r.t. the STAC browser, I wonder if @gadomski has a pointer about why that's not working as expected. I looked at the endpoint and saw a catalog served, which I thought was the expected outcome. |
ecb79d3
to
6b617ed
Compare
Agreed. IMO both
You should be able to browse items as well, so if you can't something is mis-wired or stac-browser is broken. I'll take a look. UPDATE: I took a look, and we should just point people to Radiant's browser instance, e.g.: https://radiantearth.github.io/stac-browser/#/external/http:/localhost:5555/LC80140322022305/LC80140322022305.json |
I think your point is valid. Let's leave it all in there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a few changes to the stac-browser section. Feel free to edit as you see fit. One or two other minor comments, but looks pretty much good to go.
6407bd9
to
0731cea
Compare
Thanks for the changes to the stac-browser section, @pjhartzell ! I've incorporated the remaining comments that you offered, and I think that means this is GTG... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need a quick fix for CI to pass.
pystac/validation/__init__.py:97: error: Unused "type: ignore" comment [unused-ignore]
Fixing this in #1166 |
0731cea
to
4b6d76a
Compare
e72410b
to
3021242
Compare
Related Issue(s):
Description:
This updates the Landsat tutorial notebook to use collection 2 data, since the old collection 1 data no longer appears on AWS. This notebook sources its data from MS planetary computer, and so requires the
planetary-computer
python package to be installed.PR Checklist:
pre-commit
hooks pass locallyscripts/test
)