GeoEco.DataManagement.Directories.TemporaryDirectory
- class GeoEco.DataManagement.Directories.TemporaryDirectory(automaticallyDelete=True)
Bases:
objectRepresents a temporary working directory, suitable for storing temporary files during processing.
Note
This class is part of the internal implementation of GeoEco and is not intended to be used by external callers.
The directory is created by calling
GeoEco.DataManagement.Directories.Directory.CreateTemporaryDirectory(). Please see the documentation for that function for more information on where the directory is created and what it it is named.- Parameters:
automaticallyDelete (
bool, optional) – If True (the default), the directory will be automatically deleted with the last reference to theTemporaryDirectoryobject is released andTemporaryDirectory.__del__()is called by the Python garbage collector. If False, the directory will not be automatically deleted. The caller should delete the directory. Non-automatic deletion is used primarily for debugging during GeoEco development.- Returns:
TemporaryDirectoryinstance.- Return type:
Properties
- property AutomaticallyDelete
(
bool) If True (the default), the directory will be automatically deleted with the last reference to theTemporaryDirectoryobject is released andTemporaryDirectory.__del__()is called by the Python garbage collector. If False, the directory will not be automatically deleted. The caller should delete the directory. Non-automatic deletion is used primarily for debugging during GeoEco development.
Methods
Decompresses the file specified by a method's input argument into the temporary directory.