make_reference

Write the references of test_derived.py, solved before #152.

The two cases of test_the_same_problem_as_with_the_variables, solved with their variables (the formulation before #152), by the pommes on sys.path: run it from a worktree of a commit before #152 whose LP is that of today but for #152 – after a change of the LP, the commit before #152 that has it. The values are written with scipy as netCDF 3, gzipped without a timestamp.

Usage, from the root of that worktree:

PYTHONPATH=. python /path/to/make_reference.py OUT_DIR "pommes <commit>"

At 8d562bb it gives back, byte for byte, the references made there.

Attributes

NAMES

Functions

fixture(name, cache)

system_cond()

test_case()

main(→ None)

Module Contents

make_reference.NAMES = ['operation_carbon_emissions', 'operation_combined_net_generation', 'operation_combined_power',...
make_reference.fixture(name, cache)
make_reference.system_cond()
make_reference.test_case()
make_reference.main(out_dir: pathlib.Path, source: str) → None