From 4b45b44d3ad26982b6b55a0070efecc3428c1b5c Mon Sep 17 00:00:00 2001 From: Michael Johns Date: Tue, 23 Jan 2024 12:20:31 -0500 Subject: [PATCH] more adjustments from PR feedback. --- docs/source/api/rasterio-udfs.rst | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/source/api/rasterio-udfs.rst b/docs/source/api/rasterio-udfs.rst index 30e2543b7..80561a89a 100644 --- a/docs/source/api/rasterio-udfs.rst +++ b/docs/source/api/rasterio-udfs.rst @@ -297,14 +297,14 @@ Finally we will apply the function to the DataFrame. lit("dbfs:/path/to/output/dir").alias("fuse_dir") ) ).display() - +---------------------------------------------+ - | write_raster(raster, driver, uuid, fuse_dir)| - +---------------------------------------------+ - | dbfs:/path/to/output/dir/1234.tif | - | dbfs:/path/to/output/dir/4545.tif | - | dbfs:/path/to/output/dir/3215.tif | - | ... | - +---------------------------------------------+ + +----------------------------------------------+ + | write_raster(raster, driver, uuid, fuse_dir) | + +----------------------------------------------+ + | dbfs:/path/to/output/dir/1234.tif | + | dbfs:/path/to/output/dir/4545.tif | + | dbfs:/path/to/output/dir/3215.tif | + | ... | + +----------------------------------------------+ Sometimes you don't need to be quite as fancy. Consider when you simply want to specify to write out raster contents, assuming you specify the extension in the file_id. This is just writing binary column to file, nothing further. @@ -343,11 +343,11 @@ Finally we will apply the function to the DataFrame. lit("dbfs:/path/to/output/dir").alias("fuse_dir") ) ).display() - +-------------------------------------+ - | write_tif(raster, file_name, fuse_dir) | - +-------------------------------------+ - | dbfs:/path/to/output/dir/1234.tif | - | dbfs:/path/to/output/dir/4545.tif | - | dbfs:/path/to/output/dir/3215.tif | - | ... | - +-------------------------------------+ + +----------------------------------------+ + | write_tif(raster, file_name, fuse_dir) | + +----------------------------------------+ + | dbfs:/path/to/output/dir/1234.tif | + | dbfs:/path/to/output/dir/4545.tif | + | dbfs:/path/to/output/dir/3215.tif | + | ... | + +----------------------------------------+