Skip to content

Commit e59fc0c

Browse files
committed
There was an issue with the unit testing, caused by a recent update to parcels. The testing data uses only 5 levels, down to 4.7m depth. Particles would cause an out of bounds error in such a case, and be deleted. Updating the density of the particles lets them still sink, but not as quickly as before.
1 parent a5a0c63 commit e59fc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_kernels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def make_standard_plastictype_settings():
1919
# Use tiny wind percentage because test data set is not large and wind speeds are quick!
2020
plastictype_settings = {'wind_coefficient': 0.0001, # Percentage of wind to apply to particles
2121
'plastic_diameter': 0.001, # Plastic particle diameter (m)
22-
'plastic_density': 1030., # Plastic particle density (kg/m^3)
22+
'plastic_density': 1027.67, # Plastic particle density (kg/m^3)
2323
}
2424
return plastictype_settings
2525

0 commit comments

Comments
 (0)