From c72d2146ba300e5cc2bd163893986f9c249d8cb3 Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Tue, 2 Jul 2024 09:41:51 -0600 Subject: [PATCH] refact: Named argument There is no reason why don't be explicit here, which also gives more freedom in the signature for new methods. This was an issue implementing PresRat, where there was a confusion with lat_lon and time. --- sup3r/pipeline/forward_pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sup3r/pipeline/forward_pass.py b/sup3r/pipeline/forward_pass.py index 28bdf0dc5..6c8e1236b 100644 --- a/sup3r/pipeline/forward_pass.py +++ b/sup3r/pipeline/forward_pass.py @@ -1578,7 +1578,7 @@ def bias_correct_source_data(self, data, lat_lon): feature, idf, method, feature_kwargs)) data[..., idf] = method(data[..., idf], - lat_lon, + lat_lon=lat_lon, **feature_kwargs) return data