Commit edd96a25 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Changing pytest to redo the full GMD article figures

parent 6dd185c5
......@@ -7,4 +7,6 @@ export PYCIF_DATATEST=/home/chimereges/PYCIF_TEST_DATA/
# --html reports/pytest.html --self-contained-html --junitxml=reports/pytest.xml --collect-only ../tests/dummy/
cd ../
#pytest -s -m "test_in_ci and chimere" --html reports/pytest.html --self-contained-html
pytest -s -m "test_in_ci" --basetemp=/home/satellites13/aberchet/pytest/ ./
#pytest -s -m "test_in_ci and dummy and adjtltest" --basetemp=/home/satellites13/aberchet/pytest/ --collect-only ./
pytest -s -m "(dummy and article and inversion) or (fwd and ref_config)" \
--basetemp=/home/satellites13/aberchet/pytest/ ./
......@@ -2,5 +2,8 @@
export PYCIF_DATATEST=/home/chimereges/aberchet/PYCIF_TEST_DATA/
dir_out=/home/satellites13/aberchet/cif_paper/simulations_`date +'%Y%m%d'`
pytest -s --basetemp=$dir_out/ \
--html reports/pytest.html --self-contained-html ../tests/dummy/
#pytest -s --basetemp=$dir_out/ \
# --html reports/pytest.html --self-contained-html ../tests/dummy/
cd ..
pytest -s -m "(dummy and article and inversion and not adjtltest) or (fwd and ref_config)" \
--html reports/pytest.html --self-contained-html --basetemp=$dir_out/ ./
verbose: 2
logfile: pycif.logtest
workdir: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum31
datei: 2010-01-01
datef: 2010-01-05 00:00:00
mode:
increments: 0.2
incrmode: cst
plugin:
name: adj-tl_test
version: std
testspace: chi
controlvect:
plugin:
name: standard
version: std
save_out_netcdf: true
model:
chemistry:
acspecies:
CH4: null
MCF: null
file_pg: /home/users/aberchet/CIF/model_sources/dummy_gauss/Pasquill-Gifford.txt
plugin:
name: dummy
version: std
obsvect:
dir_obsvect: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum31/../dummy_obsvect/
dump_type: nc
plugin:
name: standard
version: std
datavect:
components:
concs:
parameters:
CH4:
duration: 2H
frequency: 1H22min
nstations: 50
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
zmax: 100
MCF:
duration: 4H
frequency: 3H33min
nstations: 10
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
seed_id: 100
zmax: 100
fluxes:
parameters:
CH4:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 500
variable: zlat
- period: 1000
sin: null
variable: zlon
- sum:
- period: 1000
square: null
variable: zlat
- period: 1000
square: null
variable: zlon
hcorrelations:
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum31/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5H
plugin:
name: dummy
type: fluxes
version: txt
vresol: vpixels
MCF:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 100
variable: zlat
- period: 200
sin: null
variable: zlon
- sum:
- period: 500
square: null
variable: zlat
- period: 600
square: null
variable: zlon
hcorrelations:
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum31/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
plugin:
name: dummy
type: fluxes
version: txt
vresol: vpixels
meteo:
plugin:
name: dummy
type: meteo
version: csv
resolution: 1H
seed: true
plugin:
name: standard
version: std
domain:
nlat: 15
nlon: 30
plugin:
name: dummy
version: std
xmax: 2500
xmin: 0
ymax: 2000
ymin: 0
verbose: 2
logfile: pycif.logtest
workdir: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum7
datei: 2010-01-01
datef: 2010-01-05 00:00:00
mode:
increments: 0.2
incrmode: cst
plugin:
name: adj-tl_test
version: std
testspace: control
controlvect:
plugin:
name: standard
version: std
save_out_netcdf: true
model:
chemistry:
acspecies:
CH4: null
MCF: null
file_pg: /home/users/aberchet/CIF/model_sources/dummy_gauss/Pasquill-Gifford.txt
plugin:
name: dummy
version: std
obsvect:
dir_obsvect: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum7/../dummy_obsvect/
dump_type: nc
plugin:
name: standard
version: std
datavect:
components:
concs:
parameters:
CH4:
duration: 2H
frequency: 1H22min
nstations: 50
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
zmax: 100
MCF:
duration: 4H
frequency: 3H33min
nstations: 10
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
seed_id: 100
zmax: 100
fluxes:
parameters:
CH4:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 500
variable: zlat
- period: 1000
sin: null
variable: zlon
- sum:
- period: 1000
square: null
variable: zlat
- period: 1000
square: null
variable: zlon
hcorrelations:
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum7/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
plugin:
name: dummy
type: fluxes
version: txt
vresol: vpixels
MCF:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 100
variable: zlat
- period: 200
sin: null
variable: zlon
- sum:
- period: 500
square: null
variable: zlat
- period: 600
square: null
variable: zlon
hcorrelations:
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum7/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
plugin:
name: dummy
type: fluxes
version: txt
vresol: vpixels
meteo:
plugin:
name: dummy
type: meteo
version: csv
resolution: 1H
seed: true
plugin:
name: standard
version: std
domain:
nlat: 15
nlon: 30
plugin:
name: dummy
version: std
xmax: 2500
xmin: 0
ymax: 2000
ymin: 0
verbose: 2
logfile: pycif.logtest
workdir: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum30
datei: 2010-01-01
datef: 2010-01-05 00:00:00
mode:
increments: 0.2
incrmode: cst
plugin:
name: adj-tl_test
version: std
testspace: chi
controlvect:
plugin:
name: standard
version: std
save_out_netcdf: true
transform_pipe:
trans1:
component: fluxes
parameter_out: CH4
parameters_in:
- CH4_ref
- CH4_perturb
plugin:
name: families
type: transform
version: std
model:
chemistry:
acspecies:
CH4: null
MCF: null
file_pg: /home/users/aberchet/CIF/model_sources/dummy_gauss/Pasquill-Gifford.txt
plugin:
name: dummy
version: std
obsvect:
dir_obsvect: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum30/../dummy_obsvect/
dump_type: nc
plugin:
name: standard
version: std
datavect:
components:
concs:
parameters:
CH4:
duration: 2H
frequency: 1H22min
nstations: 50
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
zmax: 100
MCF:
duration: 4H
frequency: 3H33min
nstations: 10
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
seed_id: 100
zmax: 100
fluxes:
parameters:
CH4_perturb:
err: 1
errtype: max
flx_formula:
- sum:
- cos: null
period: 200
variable: zlat
- period: 300
sin: null
variable: zlon
hcorrelations: &id001
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum30/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
plugin: &id002
name: dummy
type: fluxes
version: txt
vresol: vpixels
xb_scale: 0.2
CH4_ref:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 500
variable: zlat
- period: 1000
sin: null
variable: zlon
- sum:
- period: 1000
square: null
variable: zlat
- period: 1000
square: null
variable: zlon
hcorrelations: *id001
hresol: hpixels
nlev: 1
period: 5H
plugin: *id002
vresol: vpixels
MCF:
err: 1
errtype: max
flx_formula:
- product:
- sum:
- cos: null
period: 100
variable: zlat
- period: 200
sin: null
variable: zlon
- sum:
- period: 500
square: null
variable: zlat
- period: 600
square: null
variable: zlon
hcorrelations:
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum30/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
plugin:
name: dummy
type: fluxes
version: txt
vresol: vpixels
meteo:
plugin:
name: dummy
type: meteo
version: csv
resolution: 1H
seed: true
plugin:
name: standard
version: std
domain:
nlat: 15
nlon: 30
plugin:
name: dummy
version: std
xmax: 2500
xmin: 0
ymax: 2000
ymin: 0
verbose: 2
logfile: pycif.logtest
workdir: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum6
datei: 2010-01-01
datef: 2010-01-05 00:00:00
mode:
increments: 0.2
incrmode: cst
plugin:
name: adj-tl_test
version: std
testspace: control
controlvect:
plugin:
name: standard
version: std
save_out_netcdf: true
transform_pipe:
trans1:
component: fluxes
parameter_out: CH4
parameters_in:
- CH4_ref
- CH4_perturb
plugin:
name: families
type: transform
version: std
model:
chemistry:
acspecies:
CH4: null
MCF: null
file_pg: /home/users/aberchet/CIF/model_sources/dummy_gauss/Pasquill-Gifford.txt
plugin:
name: dummy
version: std
obsvect:
dir_obsvect: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum6/../dummy_obsvect/
dump_type: nc
plugin:
name: standard
version: std
datavect:
components:
concs:
parameters:
CH4:
duration: 2H
frequency: 1H22min
nstations: 50
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
zmax: 100
MCF:
duration: 4H
frequency: 3H33min
nstations: 10
plugin:
name: random
type: measurements
version: param
random_subperiod_shift: true
seed: true
seed_id: 100
zmax: 100
fluxes:
parameters:
CH4_perturb:
err: 1
errtype: max
flx_formula:
- sum:
- cos: null
period: 200
variable: zlat
- period: 300
sin: null
variable: zlon
hcorrelations: &id001
dircorrel: /home/satellites13/aberchet/cif_paper/simulations_20210319/test_integration_adjtltest_dum6/datavect/
dump_hcorr: true
evalmin: 0
landsea: false
sigma: 500
hresol: hpixels
nlev: 1
period: 5D
</