Commit 01b364e4 authored by James Harle's avatar James Harle
Browse files

Add example code to help with tidal model choice

parent 163d475a
......@@ -12,6 +12,17 @@ import copy # DEBUG ONLY- allows multiple runs without corruption
from pynemo import nemo_bdy_grid_angle
from pynemo.nemo_bdy_lib import rot_rep
"
import foo
method_to_call = getattr(foo, 'bar')
result = method_to_call()
You could shorten lines 2 and 3 to:
result = getattr(foo, 'bar')()
"
class Extract:
def __init__(self, setup, DstCoord, Grid):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment