Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thopri
PyNEMO
Commits
01b364e4
Commit
01b364e4
authored
5 years ago
by
James Harle
Browse files
Options
Download
Email Patches
Plain Diff
Add example code to help with tidal model choice
parent
163d475a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
pynemo/tide/nemo_bdy_tide2.py
pynemo/tide/nemo_bdy_tide2.py
+11
-0
No files found.
pynemo/tide/nemo_bdy_tide2.py
View file @
01b364e4
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment