Add method to world class to allow for more elegant config changes #20
Labels
Beginner
Issue is good for newcomers to TidalPy
Cosmetic / QOL
Features that make the code easier to use but do not change performance or functionality
Milestone
Currently, to change a configuration on a planet you need to A). know a potentially complex series of configuration keys and B). make a separate call to the planet's reinit(). For example to change the rheology of the earth's lower mantle:
earth.config['layers']['Lower_Mantle']['rheology']['compliance_model'] = 'Andrade'
earth.reinit()
All of those keys are case sensitive and any mistake will cause a crash due to
KeyError
. This can be confusing for someone new to TidalPy.It would be nice to have a method that:
The text was updated successfully, but these errors were encountered: