newNlType: Convert pre-0.2.0 nlType names to their new names

Description Usage Arguments Value Examples

View source: R/upgrade.R

Description

Convert pre-0.2.0 nlType names to their new names. Pre 0.2.0 has only 2 nlTypes i.e. OLS and VIIRS. They are renamed as follows:

Usage

1
newNlType(oldNlType)

Arguments

oldNlType

character The old nlType i.e. "OLS" or "VIIRS"

Value

character The new nlType i.e. "OLS.Y" or "VIIRS.M"

Examples

1
2
Rnightlights:::newNlType("VIIRS")
 #returns "VIIRS.M"

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.