
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).
s2_defNA(prod_types)
Character vector of the input product types
Numeric NA values (NA not to set any NA value), corresponding to
prod_types
.
# NOT RUN {
sen2r:::s2_defNA("BOA")
sen2r:::s2_defNA(c("BOA","BOA","SCL","TCI"))
# }
Run the code above in your browser using DataLab