Python Interface to MAPL: Difference between revisions

Line 98: Line 98:


In this example, the '''GEOSgcs''' component is implemented in Python, with its children, components '''ANA''' and '''GCM''', also implemented in Python.
In this example, the '''GEOSgcs''' component is implemented in Python, with its children, components '''ANA''' and '''GCM''', also implemented in Python.


  import MAPL
  import MAPL
  import GEOSana
  import GEOSana
  import GEOSgcm
  import GEOSgcm
 
  class GridComp(MAPL.GridComp):
  class GridComp(MAPL.GridComp):
     """
     """