Skip to content
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

Add NAIP example notebook #71

Merged
merged 6 commits into from
Jun 25, 2024
Merged

Add NAIP example notebook #71

merged 6 commits into from
Jun 25, 2024

Conversation

kylebarron
Copy link
Collaborator

@kylebarron kylebarron commented Jun 25, 2024

Change list

  • Example NAIP notebook that downloads 1000 items from the planetary computer and converts to Arrow, Delta Lake, Parquet
  • Added notebook to docs site
  • Added download button to docs site to download notebook image
  • Added warning banner if not viewing the latest version of the docs

@TomAugspurger
Copy link
Collaborator

We can simplify this slightly by not using planetary_computer.sign. That injects a short-lived SAS token into the asset HREFs that probably isn't proper to store.

I confirmed that the rest of the notebook still works fine, since sign is only needed to read assets, and this notebook only uses metadata (I'll want to update planetary_computer.sign to also work on pyarrow Tables containing stac-geoparquet, but that's separate).

@kylebarron
Copy link
Collaborator Author

I removed signing from the notebook

@kylebarron kylebarron merged commit 5af1294 into main Jun 25, 2024
1 check passed
@kylebarron kylebarron deleted the kyle/jupyter branch June 25, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants