Commit e3eb6d43 authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Debugged open store

parent 8ff3d262
...@@ -22,7 +22,7 @@ class Tzis(SwiftStore): ...@@ -22,7 +22,7 @@ class Tzis(SwiftStore):
"preauthurl": os_url, "preauthurl": os_url,
"preauthtoken": os_token, "preauthtoken": os_token,
} }
SwiftStore.__init__(self, os_container, "", auth) SwiftStore.__init__(self, os_container, "", self.auth)
self.verbose=verbose self.verbose=verbose
# #
self.mf_dset=self.open_mf_dataset(mf_dset) self.mf_dset=self.open_mf_dataset(mf_dset)
...@@ -51,7 +51,7 @@ class Tzis(SwiftStore): ...@@ -51,7 +51,7 @@ class Tzis(SwiftStore):
def open_store(self, os_name): def open_store(self, os_name):
self._SwiftStore = SwiftStore(container=self._SwiftStore.container, self._SwiftStore = SwiftStore(container=self._SwiftStore.container,
prefix=self.os_name, prefix=os_name,
storage_options=self.auth) storage_options=self.auth)
# `getSizeOfVarTimeseries` # `getSizeOfVarTimeseries`
# returns the size of the variable `varname`of the entire dataset `ds` used for chunking. Dataset can be multiple files. # returns the size of the variable `varname`of the entire dataset `ds` used for chunking. Dataset can be multiple files.
......
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