R/get_select_supported.R

Defines functions get_select_supported

Documented in get_select_supported

#' Returns product names supported by \code{select_*} functionalities
#' 
#' @description \code{get_select_supported} provides all product names supported by:
#' \itemize{
#' \item \link{select_unitemporal}
#' \item \link{select_bitemporal}
#' \item \link{select_timeseries}
#' }
#' Other products than the returned cannot be processed by \code{select_*}.
#' Note that among the Sentinel-3 sensors only OLCI products are supported.
#' 
#' @return character vector of product names supported by \code{select_*}.
#' @author Henrik Fisser, 2020
#' @export
get_select_supported <- function() {
  optical_sensors <- .cloudcov_products()
  optical_sensors[which(optical_sensors %in% .get_select_supported_modis())] <- NA
  supported_products <- c(.gsd_compact(optical_sensors), name_product_sentinel1())
  return(.gsd_compact(supported_products))
}
16EAGLE/getSpatialData documentation built on June 9, 2022, 11:28 a.m.