Skip to content

Deactivate elements outside of domain - how to set it up and is it possible to use regions? #1092

Answered by knutfrode
samfredriksson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

The correct should be:
o.set_config('drift:deactivate_north_of', 58.4815)

But you can also have particles be deactivated outside of forcing model coverage by setting fallback value to None for a given parameter:
o.set_config('environment:fallback:x_sea_water_velocity', None)

To deactivate within a specific region is not directly possible, though some workaround should not be very difficult to construct.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samfredriksson
Comment options

Answer selected by samfredriksson
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