File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments