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
38610718
Commit
38610718
authored
Jan 22, 2021
by
BorjaEst
Browse files
Update test_skimmed_vmro3 [by-decade]
only 1 file is generated for each 10 years
parent
acb71fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_o3skim.py
View file @
38610718
...
...
@@ -169,9 +169,13 @@ class TestSkimming_ByDecade:
for
y
in
year_line
:
if
y
%
10
==
0
:
assert
os
.
path
.
isfile
(
"tco3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
))
else
:
assert
not
os
.
path
.
isfile
(
"tco3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
))
@
pytest
.
mark
.
parametrize
(
'model_name'
,
models_vmro
,
indirect
=
True
)
def
test_skimmed_vmro3
(
self
,
skimmed_model
):
for
y
in
year_line
:
if
y
%
10
==
0
:
assert
os
.
path
.
isfile
(
"vmro3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
))
else
:
assert
not
os
.
path
.
isfile
(
"vmro3_zm_{}-{}.nc"
.
format
(
y
,
y
+
10
))
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