mantle-convection-constrained / terratools

Tools to read, analyse and visualise models written by the TERRA mantle convection code
https://terratools.readthedocs.io/en/latest/
MIT License
6 stars 5 forks source link

TerraModel.plot_section: Try to fix intermittent random test failures #114

Closed anowacki closed 10 months ago

anowacki commented 10 months ago

Sometimes test_plot_section errors because too few points are calculated with the default radial spacing. ~Try to fix this by increasing the number of layers in the random model created.~ Fix this within TerraModel.plot_section by accounting for this possibiliy, and test the fix works.