Nothing
has_account_details <- function() {
if (is.null(getOption("CopernicusMarine_uid")) || is.null(getOption("CopernicusMarine_pwd"))) {
skip("No Copernicus account details found")
}
}
has_gdal_utils <- function() {
result <- tryCatch({
cp <-
cms_wmts_details(
product = "GLOBAL_ANALYSISFORECAST_PHY_001_024",
layer = "cmems_mod_glo_phy-thetao_anfc_0.083deg_P1D-m",
variable = "thetao"
)
is.data.frame(cp) && nrow(cp) > 0
}, error = function(e) FALSE)
if (!result) {
skip("No functional GDAL utils available")
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.