save_blob_to_file(data, fname, with_deps=None)¶
Dump from memory to local filesystem as a dask delayed operation.
data – Data blob to save to file (have to fit into memory all at once), strings will be saved in UTF8 format.
fname – Path to file
with_deps – Useful for introducing dependencies into dask graph, for example save yaml file after saving all tiff files.
(FilePath, True)tuple on success
(FilePath, False)on any error
Dask workers must be local or have network filesystem mounted in the same path as calling code.