sen2r (version 1.2.1)

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)

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.

Examples

Run this code
# NOT RUN {
sen2r:::s2_defNA("BOA")
sen2r:::s2_defNA(c("BOA","BOA","SCL","TCI"))
# }

Run the code above in your browser using DataLab