From b5562f711fb21d9189e09dc621763e6d1a0af793 Mon Sep 17 00:00:00 2001 From: Javier Vegas-Regidor Date: Fri, 18 Jun 2021 13:04:15 +0200 Subject: [PATCH] Fix conservative --- earthdiagnostics/ocean/interpolatecdo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthdiagnostics/ocean/interpolatecdo.py b/earthdiagnostics/ocean/interpolatecdo.py index dcf8dd53..c12632f2 100644 --- a/earthdiagnostics/ocean/interpolatecdo.py +++ b/earthdiagnostics/ocean/interpolatecdo.py @@ -226,7 +226,7 @@ class InterpolateCDO(Diagnostic): elif method == InterpolateCDO.BICUBIC: Utils.cdo().genbic(target_grid, input=sample_file, output=weights) elif method == InterpolateCDO.CONSERVATIVE: - Utils.cdo().genycon(target_grid, input=sample_file, output=weights) + Utils.cdo().gencon(target_grid, input=sample_file, output=weights) elif method == InterpolateCDO.CONSERVATIVE2: Utils.cdo().gencon2(target_grid, input=sample_file, output=weights) -- GitLab