sen2r (version 1.6.0)

s2_defNA: 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)

Value

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

Arguments

prod_types

Character vector of the input product types

Author

Luigi Ranghetti, phD (2019)

Examples

Run this code
sen2r:::s2_defNA("BOA")
sen2r:::s2_defNA(c("BOA","BOA","SCL","TCI"))

Run the code above in your browser using DataLab