-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support barrier in spherical and global meshes #168
Comments
Thanks, good point. There are several aspects of the barrier model interface that needs to be updated. But the current code is supposed to handle Spatial* object bundaries with CRS info if the mesh itself also has a CRS ( |
One may need to convert the Spatial* polygon to inla.mesh.segment first, but if the code that uses the information is in the barrier code itself that probably won't help, if it uses it for inside/outside information. I identified that part of the barrier code as being in the need of a conceptual overhaul a while back. |
inlabru now supports spherical meshes and also sf objects, see |
The |
Related to issues #42 and #166
In inla.mesh.2d, the spherical or global models are (currently) supported by supplying 3D coordinates (inla.mesh.2d(loc = ...)), resulting in a S2 mesh. My understanding is the barrier model currently requires inla.mesh.2d(boundary = ...) to be provided as sp:: Spatial* object type with CRS. Ideally a 2S mesh would be supported to which a boundary can be added.
The text was updated successfully, but these errors were encountered: