Skip to content

Creating a grid with bottom temperature data #293

Discussion options

You must be logged in to vote

There are several possible solutions here. Ideally both your fitted data temperature and survey grid temperature would come from the same datasource to avoid the potential issue of one data source being biased with respect to the other.

So, you might start with some oceanographic model of temperature (say a ROMS model) and interpolate that both to your fitted data locations and to your grid using something like bilinear interpolation, or nearest value, or some smoother (even sdmTMB itself). The raster package is often useful for this. There are probably also functions within sf.

If no such other data source exists, I have seen it done where the environmental data source from the fitted da…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@hanbyeoljang-UBC
Comment options

Comment options

You must be logged in to vote
1 reply
@hanbyeoljang-UBC
Comment options

Answer selected by seananderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants