Commit 28e7deb9 authored by Clément Haëck's avatar Clément Haëck
Browse files

Set default open_mfdataset kwargs

Hardcode it in lib/__init__
parent dc209e1b
......@@ -195,7 +195,7 @@ h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
a {
text-decoration: none;
color: #57d; /* TODO: Find a better colour for this. */
color: #57d;
}
a:hover {
......
......@@ -59,6 +59,7 @@ def _fixes_as_dict(fixes: List[str]):
return {k: v for k, v in fixes}
# Set default fixes
if 'fixes' in DEFAULTS:
d = DEFAULTS['fixes'].split()
if len(d) % 2 != 0:
......@@ -68,6 +69,11 @@ if 'fixes' in DEFAULTS:
DEFAULTS_TYPES['fixes'] = dict
# Set default open_mfdataset kwargs
DEFAULTS['open_mf_kw'] = dict()
DEFAULTS_TYPES['open_mf_kw'] = dict
def check_output_dir(odir, log=None, file=False):
"""Check if directory exists, if not create it.
......
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