Python Interface to MAPL: Difference between revisions
Jump to navigation
Jump to search
New page: Here is a very high level example of a MAPL ocean/atmosphere couple model in Python: import MAPL atm = MAPL.GridComp(rc='atm.rc') ocn = MAPL.GridComp(rc='ocn.rc') atm.initialize() ... |
(No difference)
|
Revision as of 12:58, 14 August 2008
Here is a very high level example of a MAPL ocean/atmosphere couple model in Python:
import MAPL
atm = MAPL.GridComp(rc='atm.rc') ocn = MAPL.GridComp(rc='ocn.rc')
atm.initialize() ocn.initialize()
for t in clock.tick(): atm.run() ocn.run()
atm.finalize() ocn.finalize()