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
d5bdf5ce
Commit
d5bdf5ce
authored
5 years ago
by
thopri
Browse files
Options
Download
Email Patches
Plain Diff
completed multiple HC for FES model
parent
518e6ca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
inputs/namelist_remote.bdy
inputs/namelist_remote.bdy
+1
-1
pynemo/tide/fes_extract_HC.py
pynemo/tide/fes_extract_HC.py
+0
-1
No files found.
inputs/namelist_remote.bdy
View file @
d5bdf5ce
...
...
@@ -68,7 +68,7 @@
! unstructured open boundaries tidal parameters
!------------------------------------------------------------------------------
ln_tide = .true. ! =T : produce bdy tidal conditions
sn_tide_model = '
fes
' ! Name of tidal model (fes|tpxo)
sn_tide_model = '
tpxo
' ! Name of tidal model (fes|tpxo)
clname(1) = 'M2' ! constituent name
clname(2) = 'S2'
ln_trans = .true. ! interpolate transport rather than
...
...
This diff is collapsed.
Click to expand it.
pynemo/tide/fes_extract_HC.py
View file @
d5bdf5ce
...
...
@@ -229,7 +229,6 @@ class HcExtract(object):
maskedpoints
=
interpolate
.
interpn
((
x_values
,
y_values
),
mask
,
lonlat
)
data_temp
=
np
.
zeros
((
data
.
shape
[
0
],
lon
.
shape
[
0
],
2
,
))
#check at same point in TPXO extract HC sc
for
cons_index
in
range
(
data
.
shape
[
0
]):
#interpolate real values
data_temp
[
cons_index
,
:,
0
]
=
interpolate_data
(
x_values
,
y_values
,
...
...
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