[DOCS] Add blog post: raster Python UDFs in 1.9.1 - #3261
Merged
Conversation
jiayuasu
marked this pull request as ready for review
August 14, 2026 08:45
jiayuasu
added a commit
that referenced
this pull request
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Did you read the Contributor Guide?
Is this PR related to a ticket?
[DOCS] my subjectWhat changes were proposed in this PR?
Add a blog post about the raster Python UDFs shipped in Sedona 1.9.1: "Seven Lines of NumPy, 121 Million Pixels".
The post walks through computing NDVI over a Sentinel-2 scene of California's Central Valley end to end: reading the red and NIR band COGs from the public
sentinel-cogsbucket with the tiledrasterreader (512 px tiles), pairing the bands with a join on tile position, computing NDVI in a two-raster Python UDF that returns a raster viawith_bands(), and writing the result back as Cloud Optimized GeoTIFFs withRS_AsCOGand the raster writer. It also covers using rasterio/SciPy inside UDFs, NODATA handling, the same-grid boundary, and how the workload distributes. Cross-links the tiled reader, STAC, and raster metadata posts.Includes a cover image (five real NDVI output tiles from the run plus the UDF code) and a before/after figure, both generated from the actual outputs.
How was this patch tested?
pip install apache-sedona==1.9.1andsedona-spark-shaded-3.5_2.12:1.9.1/geotools-wrapper:1.9.1-33.5/hadoop-aws:3.3.4from Maven Central, readings3a://sentinel-cogsanonymously.rasterreader and checked withRS_BandNoDataValue/RS_SummaryStatsAll, and verified to be internally tiled with overviews and deflate compression.pre-commitpasses, including the manual-stageoxipnghook on both PNGs (idempotent on second run).mkdocs serve: images resolve, code highlighting works, and the blog star-CTA hook is appended.Did this PR include necessary documentation updates?