Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
data-infrastructure-services
tzis
Commits
ecaff9ee
Commit
ecaff9ee
authored
Jul 13, 2021
by
Fabian Wachsmann
Browse files
Use kwargs 5
parent
8cbb802e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tzis/tzis.py
View file @
ecaff9ee
...
...
@@ -34,7 +34,7 @@ class Tzis():
#if type(mf) != list and type(mf) != str :
# raise ValueError("Dataset '{0}' must either be a string or a list of strings")
if
mf
:
return
xarray
.
open_mfdataset
(
mf
,
self
.
mf_dset
=
xarray
.
open_mfdataset
(
mf
,
decode_cf
=
True
,
use_cftime
=
True
,
concat_dim
=
"time"
,
...
...
@@ -42,6 +42,7 @@ class Tzis():
coords
=
'minimal'
,
compat
=
'override'
,
**
xarray_kwargs
)
return
self
.
mf_dset
return
None
def
_get_varname
(
self
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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