3030
3131@pytest .mark .parametrize ("mesh" , ["spherical" , "flat" ])
3232def test_advection_zonal (mesh , npart = 10 ):
33- """Particles at high latitude move geographically faster due to the pole correction in `GeographicPolar` ."""
33+ """Particles at high latitude move geographically faster due to the pole correction."""
3434 ds = simple_UV_dataset (mesh = mesh )
3535 ds ["U" ].data [:] = 1.0
3636 fieldset = FieldSet .from_sgrid_conventions (ds , mesh = mesh )
@@ -45,7 +45,7 @@ def test_advection_zonal(mesh, npart=10):
4545
4646
4747def test_advection_zonal_with_particlefile (tmp_store ):
48- """Particles at high latitude move geographically faster due to the pole correction in `GeographicPolar` ."""
48+ """Particles at high latitude move geographically faster due to the pole correction."""
4949 npart = 10
5050 ds = simple_UV_dataset (mesh = "flat" )
5151 ds ["U" ].data [:] = 1.0
@@ -439,8 +439,6 @@ def test_nemo_curvilinear_fieldset():
439439
440440 U = parcels .Field ("U" , ds ["U" ], grid , interp_method = XLinear )
441441 V = parcels .Field ("V" , ds ["V" ], grid , interp_method = XLinear )
442- U .units = parcels .GeographicPolar ()
443- V .units = parcels .GeographicPolar () # U and V need GeographicPolar for C-Grid interpolation to work correctly
444442 UV = parcels .VectorField ("UV" , U , V , vector_interp_method = CGrid_Velocity )
445443 fieldset = parcels .FieldSet ([U , V , UV ])
446444
@@ -522,8 +520,6 @@ def test_nemo_3D_curvilinear_fieldset(kernel):
522520 U = parcels .Field ("U" , ds ["U" ], grid , interp_method = XLinear )
523521 V = parcels .Field ("V" , ds ["V" ], grid , interp_method = XLinear )
524522 W = parcels .Field ("W" , ds ["W" ], grid , interp_method = XLinear )
525- U .units = parcels .GeographicPolar ()
526- V .units = parcels .GeographicPolar () # U and V need GoegraphicPolar for C-Grid interpolation to work correctly
527523 UV = parcels .VectorField ("UV" , U , V , vector_interp_method = CGrid_Velocity )
528524 UVW = parcels .VectorField ("UVW" , U , V , W , vector_interp_method = CGrid_Velocity )
529525 fieldset = parcels .FieldSet ([U , V , W , UV , UVW ])
0 commit comments