Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
synergy
o3skim
Commits
07bdfce1
Commit
07bdfce1
authored
Jan 22, 2021
by
BorjaEst
Browse files
Bugfix skim by decade calls groupby_decade
parent
38610718
Changes
1
Hide whitespace changes
Inline
Side-by-side
o3skim/__init__.py
View file @
07bdfce1
...
...
@@ -102,7 +102,7 @@ def _skim(model, delta=None):
elif
delta
==
'decade'
:
def
tco3_path
(
y
):
return
"tco3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
)
def
vmro3_path
(
y
):
return
"vmro3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
)
groups
=
skimmed
.
model
.
groupby_
year
()
groups
=
skimmed
.
model
.
groupby_
decade
()
else
:
def
tco3_path
(
_
):
return
"tco3_zm.nc"
def
vmro3_path
(
_
):
return
"vmro3_zm.nc"
...
...
Write
Preview
Supports
Markdown
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