Open rsignell-usgs opened 3 years ago
thanks @rsignell-usgs definitely would welcome a notebook on writing COGs here! Looking quickly at your notebook I see "we just basically writing to local disk then pushing to S3". It's definitely possible to upload from memory directly to S3... I don't have an example on hand, but should document the two approaches.
A colleague asked me how to write COG to S3 from xarray, and I got something working using fsspec simplecache: https://nbviewer.jupyter.org/gist/rsignell-usgs/3472ca07779ded81833a0cd3deb24cf9
but I'm wondering if: