Convenient access from R to FVCOM NECOFS ocean physics model.
devtools::install_github("BigelowLab/locate") devtools::install_github("BigelowLab/fvcom") devtools::install_github("BigelowLab/necofs")
suppressPackageStartupMessages({ library(necofs) }) X <- NECOFSPhysics() # optional arguments, too - see ?NECOFSPhysics X
# We have already prepared an example track to save time #p0 <- X$random_points(n = 1) #pt <- particle_track(X, P0 = p0, tstep = 60*20, tmax = (24*3600) * 7) pt <- example_track() p0 <- pt |> dplyr::slice(1) pt
plot_track(pt, X = X) plot_track(pt, X = X, ext = X$M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.