chrisvwn / Rnightlights

R package to extract data from satellite nightlights.
GNU General Public License v3.0
47 stars 14 forks source link

Available periods #27

Closed nreguera closed 5 years ago

nreguera commented 5 years ago

Hi Chris,

I am trying to figure out if I have available monthly periods from 2012 to 2018 using the code:

validNlPeriods(c("201201", "201812"),"VIIRS.M") --> Get FALSE, so I understand I don´t

Thanks.

Natxo.

nreguera commented 5 years ago

Ok, found it:

getAllNlPeriods("VIIRS.M")

The code from the previous comment I understand it's for specific periods, so because the data it's only available from 201204 I got FALSE.

chrisvwn commented 5 years ago

Exactly!

nreguera commented 5 years ago

Good help documentation anyway :)