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

Skip figure plot

parent a3076622
...@@ -79,7 +79,28 @@ The :bash:`datavect` paragraph of your working yaml should look like that: ...@@ -79,7 +79,28 @@ The :bash:`datavect` paragraph of your working yaml should look like that:
type: flux type: flux
version: your_version version: your_version
3. Test running again your test case. It should generate fluxes with random values 3. Test running again your test case. It should generate fluxes with random values as in the template
Document your plugin
====================
Before going further, be sure to document your plugin properly.
To do so, please replace the docstring header in the file :bash:`__init__.py`.
Include the following information:
- licensing information
- permanent link to download the data (or a contact person if no link is publicly available)
- data format (temporal and horizontal resolution, names and shape of the data files)
- any specific treatment that prevents the plugin from working with another type of files.
Updating functions and data to implement your flux data
=======================================================
...@@ -142,9 +163,9 @@ The :bash:`datavect` paragraph of your working yaml should look like that: ...@@ -142,9 +163,9 @@ The :bash:`datavect` paragraph of your working yaml should look like that:
.. code-block:: rest .. code-block:: rest
#################### #####################
Fluxes :bash:`fluxes` Fluxes :bash:`fluxes`
#################### #####################
Available Fluxes Available Fluxes
========================= =========================
......
...@@ -45,8 +45,8 @@ def test_integration_inversion(dummy_config_inversion, settings, pytestconfig): ...@@ -45,8 +45,8 @@ def test_integration_inversion(dummy_config_inversion, settings, pytestconfig):
montecarlo = settings.get("montecarlo", 10) montecarlo = settings.get("montecarlo", 10)
nsample = settings.get("nsample", 5) nsample = settings.get("nsample", 5)
if "allsimulations" not in marker: if "allsimulations" not in marker:
nsimmax = 2 nsimmax = 3
montecarlo = 2 montecarlo = 3
nsample = 1 nsample = 1
# Changing mode # Changing mode
...@@ -195,6 +195,12 @@ def test_integration_inversion(dummy_config_inversion, settings, pytestconfig): ...@@ -195,6 +195,12 @@ def test_integration_inversion(dummy_config_inversion, settings, pytestconfig):
"rootdir": root_dir}, "rootdir": root_dir},
replace_values={"rootdir": "/tmp/CIF/"}) replace_values={"rootdir": "/tmp/CIF/"})
# Stop here if not full article computation
marker = pytestconfig.getoption('-m')
if "allsimulations" not in marker:
return
# Loop with different number of simulations for non analytical inversions # Loop with different number of simulations for non analytical inversions
title = "" title = ""
obs_root = "obsvect_posterior" obs_root = "obsvect_posterior"
......
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