Skip to content

Commit 7c3f77e

Browse files
committed
Bug fixs
Fix keywords
1 parent 4fc9856 commit 7c3f77e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

schimpy/bctide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ def _get_var(name):
822822
elif (elev_id == 3) or (elev_id == 5):
823823
## tidal forcing
824824
# write each tidal constituent: name line then amplitude/phase per node
825-
for tidal_constituent in elev_boundary["tidal_constituents"]:
825+
for tidal_constituent in elev_boundary["constituents"]:
826826
# name must exist (YAML examples use 'name' after normalization)
827827
name = tidal_constituent.get("name")
828828
if name is None:
@@ -851,7 +851,7 @@ def _get_var(name):
851851
outf.write(str(vel_source))
852852
elif (vel_id == 3) or (vel_id == 5):
853853
## tidal forcing
854-
for tidal_constituent in vel_boundary["tidal_constituents"]:
854+
for tidal_constituent in vel_boundary["constituents"]:
855855
# name must exist (YAML examples use 'name' after normalization)
856856
name = tidal_constituent.get("name")
857857
if name is None:

0 commit comments

Comments
 (0)