CWorthy-ocean / C-Star

C-Star is a python package for setting up and running ocean model simulations, with a particular focus on marine carbon dioxide removal (mCDR) applications.
https://c-star.readthedocs.io
10 stars 4 forks source link

Add to_dict and from_dict methods on Component, call from methods on Case #109

Closed dafyddstephenson closed 2 weeks ago

dafyddstephenson commented 3 weeks ago

Closes #103.

Also adds a setup method on Component which is called on each Component from Case.setup(), for similar reasons (Case was previously handling Component-based responsibilities).

This is necessary groundwork for tackling #94 .