Open mnlevy1981 opened 5 years ago
Another issue to create: move from init-twice
to call-compute-twice
for better test coverage (or maybe have both?)
Another issue: is it possible to clean up the error traceback code? Maybe goto
statements or #include
to cut back on the repetitive calls to log_error_trace()
and return
?
Documentation clean up:
regression_tests.rst
) to hide longer output in init.rst
marbl_call_compute_subroutines_drv.F90
documentation)
netcdf_comparison.py
itself should be tested. A good unit test script would just create small xarray datasets with known pass / fail status in the comparison tool and make sure everything behaves as expected. Important edge cases to cover (in addition to the obvious checks):NaN
mismatch between two datasetsnum_levels
butnum_levels = 4
in one dataset and5
in the other)