Skip to content

Extended support for customisable kernels #1227

Discussion options

You must be logged in to vote

The reason for this error is that you can't assign the proba_beach variable like this; it does not work for the JIT-compiler.

Instead, you should use FieldSet.add_constant('proba_beach', value) and then use fieldset.proba_beach within the Kernel.

See also https://oceanparcels.org/gh-pages/html/#parcels.fieldset.FieldSet.add_constant

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VeckoTheGecko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants