Skip to content

How to specify BLOCKSIZE in to_raster()? #656

Answered by snowman2
rsignell-usgs asked this question in Q&A
Discussion options

You must be logged in to vote

https://corteva.github.io/rioxarray/stable/rioxarray.html#rioxarray.raster_array.RasterArray.to_raster

profile_kwargs are keyword arguments. So, you would input them like so:

da.rio.to_raster(raster_path=cog, driver="COG", blocksize=1024)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rsignell-usgs
Comment options

Answer selected by rsignell-usgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants