Deactivate elements outside of domain - how to set it up and is it possible to use regions? #1092
|
Hi, o = OceanDrift(loglevel=0) # Set loglevel to 0 for debug information Someone that can give advice to set it up correctly? I would also like to be able to specify regions as for instance different latitudes as a function of longitude (mulitple constraints) - is that possible? //Sam |
Replies: 1 comment 1 reply
|
Hi, The correct should be: But you can also have particles be deactivated outside of forcing model coverage by setting fallback value to None for a given parameter: To deactivate within a specific region is not directly possible, though some workaround should not be very difficult to construct. |
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.