inlabru returns warnings about interpolating NAs in environmental data, which can be reduced by downloading environmental data from the boundary of the mesh rather than regionGeometry
What changes have been made?
functions/meshTest.R - return inlabru mesh after plotting. add inla.mesh_to_sf function to convert inla mesh to SF object.
masterScript.R - define mesh before environmental download.
pipeline/import/environmentalImport.R - if mesh is defined, then download environmental data using mesh for extent, otherwise use regionGeometry
Why have changes been made?
What changes have been made?