odc.geo.cog.save_cog_with_dask
- odc.geo.cog.save_cog_with_dask(xx, dst='', *, compression=<odc.geo.types.Unset object>, compressionargs=None, level=None, predictor=<odc.geo.types.Unset object>, blocksize=<odc.geo.types.Unset object>, bigtiff=True, overview_resampling='nearest', aws=None, client=None, stats=True, **kw)[source]
Save a Cloud Optimized GeoTIFF to S3 or file with Dask.
- Parameters:
xx (
DataArray
) – Pixels asxarray.DataArray
backed by Daskdst (
str
) – S3 url or a file path on shared storagecompression (
Union
[str
,Unset
]) – Compression to use, default isDEFLATE
level (
Union
[int
,float
,None
]) – Compression “level”, depends on chosen compressionpredictor (
Union
[int
,bool
,Unset
]) – TIFF predictor settingcompressionargs (
Optional
[Any
]) – Any other compression argumentsoverview_resampling (
Union
[int
,str
]) – Resampling to use for computing overviewsblocksize (
Union
[Unset
,int
,List
[Union
[int
,Tuple
[int
,int
]]]]) – Configure blocksizes for main and overview imagesbigtiff (
bool
) – Generate BigTIFF by default, set toFalse
to disablestats (
bool
|int
) – Set toFalse
to disable stats computation
- Return type:
- Returns:
Dask delayed