We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-
1 parent f57582b commit 120fe43Copy full SHA for 120fe43
src/scripts/EddyIdentification
@@ -183,7 +183,7 @@ if __name__ == '__main__':
183
# http://stackoverflow.com/questions/6094957/high-pass-filter-
184
# for-image-processing-in-python-by-using-scipy-numpy
185
v = gaussian_filter(sla, sigma=[MRES, ZRES])
186
- w = gaussian_filter(float_(-m), sigma=[MRES, ZRES])
+ w = gaussian_filter(float_(~m), sigma=[MRES, ZRES])
187
188
with errstate(invalid='ignore'):
189
sla -= ma.array(v / w, mask= (w==0) + m)
0 commit comments