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

Python COG example, plus clean up of text and code #111

Merged
merged 8 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ website:
- cloud-optimized-geotiffs/cogs-details.qmd
- cloud-optimized-geotiffs/cogs-examples.ipynb
- cloud-optimized-geotiffs/cogs-overview_resampling.ipynb
- cloud-optimized-geotiffs/writing-cogs-in-python.ipynb
- section: Zarr
contents:
- zarr/intro.qmd
Expand All @@ -53,6 +54,7 @@ website:
- section: Cloud-Optimized Point Clouds (COPC)
contents:
- copc/index.qmd
- copc/lidar-las-to-copc.ipynb
- section: GeoParquet
contents:
- geoparquet/index.qmd
Expand Down
3 changes: 0 additions & 3 deletions cloud-optimized-geotiffs/cogs-overview_resampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,10 @@
}
],
"source": [
"import subprocess\n",
"import os\n",
"\n",
"import earthaccess\n",
"\n",
"import matplotlib.pyplot as plt\n",
"\n",
"import rasterio as rio\n",
"from rasterio.session import AWSSession\n",
"from rasterio.plot import show\n",
Expand Down
547 changes: 547 additions & 0 deletions cloud-optimized-geotiffs/writing-cogs-in-python.ipynb

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions copc/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: coguide-copc
channels:
- conda-forge
dependencies:
- python=3.11
- earthaccess
- ipykernel
- jupyterlab
- matplotlib
- libgdal>=3.5
- python-pdal=3.3.0
- pdal=2.6.3
Loading
Loading