From 578a3134076a3dfb174ecdd099e7e4e6680ea3b3 Mon Sep 17 00:00:00 2001 From: eli knaap Date: Wed, 12 Jul 2023 17:49:09 -0700 Subject: [PATCH] fix typo in pycno when nanhandle is false --- tobler/pycno/pycno.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tobler/pycno/pycno.py b/tobler/pycno/pycno.py index 5db663b..afd3594 100644 --- a/tobler/pycno/pycno.py +++ b/tobler/pycno/pycno.py @@ -157,7 +157,7 @@ def correct2Dm(data): if handle_null: sm = astroSmooth2d(value_array) else: - sm = smooth2d(value_array) + sm = smooth2D(value_array) # Relaxation to prevent overcompensation in the smoothing step value_array = value_array * r + (1.0 - r) * sm