This function determines the basename of either a file/URL path or an 'nc' object (using nc$filename).
get_basename_vis(infile, nc = NULL)
Filename of input NetCDF file. This may include the directory (character).
When the origin of the file path is a local .nc file then
get_basename_vis() is equivalent to
get_basename_vis() also handles the case of
originating from a URL.
The value of
get_basename_vis() always ends in ".nc".
nc are specified,
infile is ignored.
A character string giving the basename.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.