Replies: 2 comments
-
It involves modifying the internal dictionary of boundaries and I think at this point could be really messy. You need to get the Lines 1525 to 1551 in 1fe13b0 Frankly, the more I think about it, the worse setting boundaries manually seems to me! Let's start from scratch! How would you like to set up boundaries manually? |
Beta Was this translation helpful? Give feedback.
-
Yes, I think it would be good to be able to set boundaries based on whether particular nodes are inside a specified shape. The auto generation of boundaries is good at least as a starting point (detecting internal islands and open sea boundary), so I think I'd just want to be able to modify the ones it detects rather than specify them all manually instead. |
Beta Was this translation helpful? Give feedback.
-
The
mesh.boundaries.auto_generate()
function seems to do an OK job of detecting the open ocean boundary (with some nodes possibly omitted at the coastal ends - if the threshold is increased to pick them up, it starts identifying spurious open boundaries on land, I guess just an inevitable limitation of trying to identify boundaries solely based on elevation).I will also need to define some open boundaries for e.g. river inputs, and so I probably need to be able to define them a bit more manually.
The user guide states that "To preserve the boundary type accuracy it is possible to programmatically force some
nodes to be on land or in the ocean. However, this is outside the scope of this document." So, how is this done?
Beta Was this translation helpful? Give feedback.
All reactions