earthkit.geo.utils.temporary.TmpFile

class earthkit.geo.utils.temporary.TmpFile(path)

The TmpFile objects are designed to be used for temporary files. It ensures that the file is unlinked when the object is out-of-scope (with __del__).

Parameters:

path (str) – Actual path of the file.

cleanup()
path