Skip to content

Commit

Permalink
There was an issue with the unit testing, caused by a recent update t…
Browse files Browse the repository at this point in the history
…o 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.
  • Loading branch information
michaeldenes committed Dec 4, 2024
1 parent a5a0c63 commit e59fc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def make_standard_plastictype_settings():
# Use tiny wind percentage because test data set is not large and wind speeds are quick!
plastictype_settings = {'wind_coefficient': 0.0001, # Percentage of wind to apply to particles
'plastic_diameter': 0.001, # Plastic particle diameter (m)
'plastic_density': 1030., # Plastic particle density (kg/m^3)
'plastic_density': 1027.67, # Plastic particle density (kg/m^3)
}
return plastictype_settings

Expand Down

0 comments on commit e59fc0c

Please sign in to comment.