Skip to content
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

[Feature]: Identify land areas for hook & line survey when creating the grid #1

Open
chantelwetzel-noaa opened this issue Apr 20, 2022 · 9 comments
Assignees
Labels
status--Help wanted Need help coding, discussing, or testing type--Enhancement New feature or request

Comments

@chantelwetzel-noaa
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The NWFSC Hook & Line survey occurs in the Point Conception area sampling around multiple islands. These land masses need to be accounted for when developing the grid.

Describe the solution you'd like
Similar to the process currently in place for creating the grid for the NWFSC WCGBT survey (via the mask(bathy_raster, CCA) code), the land masses in the Hook & Line survey area need to be identified and removed from the grid.

Describe alternatives you've considered
None

Additional context
None

@kellijohnson-NOAA kellijohnson-NOAA changed the title Identify land areas for hook & line survey when creating the grid [Feature]: Identify land areas for hook & line survey when creating the grid Oct 27, 2022
@kellijohnson-NOAA kellijohnson-NOAA added type--Enhancement New feature or request status--Help wanted Need help coding, discussing, or testing labels Oct 27, 2022
@kellijohnson-NOAA
Copy link
Collaborator

I believe that @jkbest2 has done this for islands in Alaska. I think that we would want to restrict the mesh but perhaps it might be that we need to modify the prediction grid as well. Any advice @seananderson, @ericward-noaa, @James-Thorson-NOAA, or @jkbest2?

@ericward-noaa
Copy link
Collaborator

For estimation, all you need to do is get a shapefile of the islands. Then it becomes easy to add a barrier mesh -- no further tweaks needed. Implemented in both VAST and sdmTMB.

If you're predicting to new locations -- then agree, you need to modify the prediction grid to not include islands.

@kellijohnson-NOAA
Copy link
Collaborator

Thanks @ericward-noaa I see an example in the {sdmTMB} documentation about adding a barrier mesh. Is this the best place to find information or should we be looking at stuff in the scratch pad for newer/different methods?

@James-Thorson-NOAA
Copy link

James-Thorson-NOAA commented Nov 15, 2022 via email

@ericward-noaa
Copy link
Collaborator

ericward-noaa commented Nov 15, 2022

No -- that's the best approach in sdmTMB right now. FWIW, the barrier mesh construction is an INLA thing -- so once you make it, it could be passed to whatever you want to use for estimation.

@kellijohnson-NOAA
Copy link
Collaborator

Thanks @James-Thorson-NOAA and @ericward-noaa. For the hook and line, turning off anisotropy might not be a big deal because it is constrained to a smaller footprint but for the WCGBTS survey, which is coastwide, I would think that we would be better off to just ignore islands 🤷 .

@James-Thorson-NOAA
Copy link

I'm willing to bet someone could derive the anisotropy + barrier feature ... to my knowledge the anisotropy feature isn't in R-INLA itself, and I just worked it out the matrix-construction equations from Lindgren-2011 (which we then merged up into TMB namespace R_inla) ... presumably a few days of reading and testing could yield the same thing with barrier feature too if someone is motivated

@ericward-noaa
Copy link
Collaborator

Also might be worth asking Ray Webster / IPHC if they've dealt with this before -- IPHC has been using barrier meshes for a while w/ custom code

@seananderson
Copy link
Collaborator

From my experience, the barrier rarely does much for index calculation—it's making subtle changes to the local distribution of fish and the land wasn't part of the prediction grid anyways. I'd guess that anisotropy is usually more important there. I think the place where the barrier is more useful is when the spatial distribution itself (i.e., nice maps) is the main interest. Even then, it seems like you need some fairly contrived examples to get strong effects. The main advantage I find is that it doesn't horrify ecologists when you tell them you're smoothing fish across land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status--Help wanted Need help coding, discussing, or testing type--Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants