From 75ba74342be6756f88ef34f7b50e65cc101e25aa Mon Sep 17 00:00:00 2001 From: eduzenli Date: Mon, 14 Oct 2024 20:37:13 +0200 Subject: [PATCH] exp -> exp --- R/Interpolation.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Interpolation.R b/R/Interpolation.R index 51de9ec..f1bebfa 100644 --- a/R/Interpolation.R +++ b/R/Interpolation.R @@ -68,7 +68,7 @@ CST_Interpolation <- function(exp, points = NULL, method_remap = NULL, target_gr stop("The name of the latitude/longitude dimensions in 'exp$data' must match the parametres 'lat_dim' and 'lon_dim'") } - res <- Interpolation(exp = exp$data, lats = exp$coords[[lat_dim]], lons = exp$attrs[[lon_dim]], + res <- Interpolation(exp = exp$data, lats = exp$coords[[lat_dim]], lons = exp$coords[[lon_dim]], source_file = exp$attrs$source_files[1], points = points, method_remap = method_remap, target_grid = target_grid, lat_dim = lat_dim, lon_dim = lon_dim, region = region, method_point_interp = method_point_interp, ncores = ncores) -- GitLab