Commit 253a79cf authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files


- __getstate__(): Bugfix

updated __version__
parent b0333947
......@@ -15,7 +15,7 @@ from . import config
from .processing.process_controller import process_controller
__version__ = '20170523.01'
__version__ = '20170523.02'
__author__ = 'Daniel Scheffler'
__all__ = ['algorithms',
......@@ -78,7 +78,8 @@ class GMS_object(Dataset):
def __getstate__(self):
"""Defines how the attributes of GMS object are pickled."""
super(GMS_object, self).__getstate__()
del self.pathGen # path generator can only be used for the current processing level
# delete arrays if their in-mem size is to big to be pickled
# => (avoids MaybeEncodingError: Error sending result: '[<GeoMultiSens.algorithms.L2C_P.L2C_object
......@@ -87,6 +88,8 @@ class GMS_object(Dataset):
if self.mask_nodata is not None and self.masks.bands>1 and self.mask_clouds is not None: # FIXME check by bandname
del self.masks
return self.__dict__
def set_pathes(self):
self.baseN = self.pathGen.get_baseN()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment