Skip to content

Commit 68cfe98

Browse files
committed
Allow to not filter input field
1 parent 3236a7b commit 68cfe98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scripts/EddyId

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ if __name__ == '__main__':
3939
u, v = 'u', 'v'
4040
else:
4141
u, v = args.u, args.v
42-
h.bessel_high_filter(args.h, args.cut_wavelength, order=args.filter_order)
42+
if args.cut_wavelength != 0:
43+
h.bessel_high_filter(args.h, args.cut_wavelength, order=args.filter_order)
4344
a, c = h.eddy_identification(args.h, u, v, date, args.isoline_step, pixel_limit=(5, 2000),
4445
shape_error=args.fir_errmax)
4546
with Dataset(args.path_out + date.strftime('/Anticyclonic_%Y%m%d.nc'), 'w') as h:

0 commit comments

Comments
 (0)