OpenDrift / opendrift

Open source framework for ocean trajectory modelling
https://opendrift.github.io
GNU General Public License v2.0
251 stars 120 forks source link

Error when running SedimentDrift simulation with constant ocean vertical diffusivity. #1392

Closed LanaLubecke closed 2 months ago

LanaLubecke commented 2 months ago

This should be a quick fix:

Instead of 'ocean_vertical_diffusivity': {'fallback': 0.02},

write

'ocean_vertical_diffusivity': {'fallback': 0.02, 'profiles': True},

knutfrode commented 2 months ago

Yes, this was a rather serious bug for the SedimentDrift module. Thank you for the fix!