OpenDrift / opendrift

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

OpenOil.seed_cone complains that mode is Ready and not config. Made h… #1179

Closed knutfrode closed 11 months ago

knutfrode commented 11 months ago

…ack by changing to Config when setting oil_type config, and then back to Ready

knutfrode commented 11 months ago

@gauteh I am making some adaptations to make examples pass. E.g. explicitly changing mode to Result in order to make plots without needing to run simulation first. Not sure if these types of changes seem healthy, or a bad sign?

gauteh commented 11 months ago

If plot works without being in result mode then we can remove the requirement. It is almost always a bad sign to have to change the mode directly.