Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
data-infrastructure-services
tzis
Commits
e3eb6d43
Commit
e3eb6d43
authored
May 28, 2021
by
Fabian Wachsmann
Browse files
Debugged open store
parent
8ff3d262
Changes
1
Hide whitespace changes
Inline
Side-by-side
tzis/tzis.py
View file @
e3eb6d43
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment