Skip to content

Commit

Permalink
Python COG example, plus clean up of text and code (#111)
Browse files Browse the repository at this point in the history
* Clarify text about cloud opt allowing partial reads (#102)

* Clean up imports

* Add back newline

* Adding writing COGs with Python notebook (#106)

* Adding writing COGs with Python notebook

* Addressing review comments

* Add overview generation and set NoData values

* Add description for overviews and predictors

* update nodata value to -32768.0

* add in-text citation

* update navigation link

* Adding link to Project  Pythia Kerchunk Cookbook (#108)

* Clarify text about cloud opt allowing partial reads (#102) (#103)

* adding ref to kerchunk cookbook

* Add notebook for LAS to COPC Conversion (#109)

* Add notebook for LAS to COPC Conversion

* Adding cli based access info

* Addressing review comments

* update navigation link for COPC notebook

* Minor updates for consistency in COPC full form

* Update environment file

* update pdal reader for copc

* update copc:true check for validation

---------

Co-authored-by: j08lue <[email protected]>
Co-authored-by: Kyle Barron <[email protected]>
Co-authored-by: Rajat Shinde <[email protected]>
Co-authored-by: rsignell <[email protected]>
  • Loading branch information
5 people authored Apr 8, 2024
1 parent 745cfba commit 66399e3
Show file tree
Hide file tree
Showing 6 changed files with 1,441 additions and 4 deletions.
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

0 comments on commit 66399e3

Please sign in to comment.