s2_defNA: Set NA value of a specific product type

View source: R/s2_defNA.R

s2_defNAR Documentation

Set NA value of a specific product type

Description

Internal function to determine the NA value to be used for each product type (except for spectral indices, whose NA value is managed by s2_calcindices).

Usage

s2_defNA(prod_types)

Arguments

prod_types

Character vector of the input product types

Value

Numeric NA values (NA not to set any NA value), corresponding to prod_types.

Author(s)

Luigi Ranghetti, phD (2019)

Examples

sen2r:::s2_defNA("BOA")
sen2r:::s2_defNA(c("BOA","BOA","SCL","TCI"))

sen2r documentation built on Nov. 10, 2023, 9:08 a.m.