Last chance! 50% off unlimited learning
Sale ends in
Generate a list of all possible nlPeriods for a given nlType
getAllNlPeriods(nlTypes)
types of nightlights to process
a named list of character vector nlPeriods
# NOT RUN {
getAllNlPeriods("OLS.Y")
#returns a vector of all years from 1994 to 2013
getAllNlPeriods("VIIRS.M")
#returns a vector of all yearMonths from 201401 to present
getAllNlPeriods(c("OLS.Y", "VIIRS.Y"))
#returns a list with 2 named vectors, one for each annual nlType
# }
Run the code above in your browser using DataLab