|
11 | 11 | from parcels._datasets.structured.generic import T as T_structured |
12 | 12 | from parcels._datasets.structured.generic import datasets as datasets_structured |
13 | 13 | from parcels._datasets.unstructured.generic import datasets as datasets_unstructured |
14 | | -from parcels.application_kernels.interpolation import XBiLinear, XTriLinear |
| 14 | +from parcels.application_kernels.interpolation import XLinear |
15 | 15 | from parcels.fieldset import FieldSet |
16 | 16 | from parcels.uxgrid import UxGrid |
17 | 17 | from parcels.xgrid import XGrid |
@@ -221,14 +221,14 @@ def test_conversion_3DCROCO(): |
221 | 221 | ds = xr.open_dataset(file).rename({"x_rho": "lon", "y_rho": "lat", "s_w": "depth"}) |
222 | 222 |
|
223 | 223 | grid = XGrid.from_dataset(ds) |
224 | | - U = Field("U", ds["u"], grid, mesh_type="flat", interp_method=XTriLinear) |
225 | | - V = Field("V", ds["v"], grid, mesh_type="flat", interp_method=XTriLinear) |
226 | | - W = Field("W", ds["w"], grid, mesh_type="flat", interp_method=XTriLinear) |
| 224 | + U = Field("U", ds["u"], grid, mesh_type="flat", interp_method=XLinear) |
| 225 | + V = Field("V", ds["v"], grid, mesh_type="flat", interp_method=XLinear) |
| 226 | + W = Field("W", ds["w"], grid, mesh_type="flat", interp_method=XLinear) |
227 | 227 | UVW = VectorField("UVW", U, V, W) |
228 | 228 |
|
229 | | - H = Field("H", ds["h"], grid, mesh_type="flat", interp_method=XBiLinear) |
230 | | - Zeta = Field("Zeta", ds["zeta"], grid, mesh_type="flat", interp_method=XBiLinear) |
231 | | - Cs_w = Field("Cs_w", ds["Cs_w"], grid, mesh_type="flat", interp_method=XBiLinear) |
| 229 | + H = Field("H", ds["h"], grid, mesh_type="flat", interp_method=XLinear) |
| 230 | + Zeta = Field("Zeta", ds["zeta"], grid, mesh_type="flat", interp_method=XLinear) |
| 231 | + Cs_w = Field("Cs_w", ds["Cs_w"], grid, mesh_type="flat", interp_method=XLinear) |
232 | 232 |
|
233 | 233 | fieldset = FieldSet([U, V, W, UVW, H, Zeta, Cs_w]) |
234 | 234 |
|
|
0 commit comments