Commit 181f89e1 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Changing seed to have better coverage with observations for dummy tests;...

Changing seed to have better coverage with observations for dummy tests; re-activating all tests for dummy
parent 6080e38b
......@@ -42,11 +42,6 @@ def make_fluxes(self, datastore, runsubdir, datei, mode):
for spec in self.chemistry.emis_species.attributes] \
+ [("biofluxes", spec)
for spec in self.chemistry.bio_species.attributes]
# print(__file__)
# import code
# code.interact(local=dict(locals(), **globals()))
for trid in list_trid:
spec = trid[1]
emis_type = trid[0]
......
......@@ -160,7 +160,8 @@ def ref_dummy(tmpdir):
"duration": "4H13min",
"random_subperiod_shift": True,
"zmax": 100,
"seed": True
"seed": True,
"seed_id": 5
},
"MCF": {
"plugin": {
......
......@@ -5,10 +5,10 @@ import pytest
params=
[
{"resol": "full"},
# pytest.param({"resol": "full", "correlations": 2e5},
# marks=pytest.mark.article),
# {"resol": "bands"},
# {"resol": "global"},
pytest.param({"resol": "full", "correlations": 2e5},
marks=pytest.mark.article),
{"resol": "bands"},
{"resol": "global"},
])
def dummy_config_inversion(dummy_config_fwd, request):
"""
......
......@@ -19,13 +19,13 @@ from pycif.utils.path import init_dir
@pytest.mark.parametrize(
"settings", [
{"mode": "4dvar", "minimizer": "M1QN3"},
# pytest.param({"mode": "4dvar", "minimizer": "M1QN3", "montecarlo": 10},
# marks=pytest.mark.uncertainties),
# {"mode": "4dvar", "minimizer": "congrad"},
# {"mode": "ensrf"},
# pytest.param({"mode": "ensrf", "nsample": 5},
# marks=pytest.mark.uncertainties),
# {"mode": "analytical"}
pytest.param({"mode": "4dvar", "minimizer": "M1QN3", "montecarlo": 10},
marks=pytest.mark.uncertainties),
{"mode": "4dvar", "minimizer": "congrad"},
{"mode": "ensrf"},
pytest.param({"mode": "ensrf", "nsample": 5},
marks=pytest.mark.uncertainties),
{"mode": "analytical"}
]
)
def test_integration_inversion(dummy_config_inversion, settings, pytestconfig):
......
Supports Markdown
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