-
I'm fixing some old code that uses rasterio to write a geotiff with dask. We haven't transition to rioxarray yet, but figured the community here would know the answer to the problem I'm facing. We have some code that basically says "if the file handle was closed, reopen it so we can write band data to it". Turns out this code was never actually run and I've only recently discovered that we were doing Does anyone have ideas for how I might be able to write data to an existing geotiff file without overwriting what was already there? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
🤦 nevermind, I wasn't closing the file after writing to it before I was attempting to read the file again. The data hadn't actually been written to disk yet. False alarm. Thanks for reading. |
Beta Was this translation helpful? Give feedback.
🤦 nevermind, I wasn't closing the file after writing to it before I was attempting to read the file again. The data hadn't actually been written to disk yet. False alarm. Thanks for reading.