Skip to content
Prev 27947 / 29559 Next

Extract VIIRS data in R

Dear Edzer,

Thank you for your reply and the suggestions. Apologies for not copying the
list, I forgot to hit 'reply all'.

The data is Nighttime lights from Black Marble.

Source of the geo-location data (VNP03DNB):
https://ladsweb.modaps.eosdis.nasa.gov/missions-and-measurements/products/VNP03DNB/
Observation data (VNP02DNB):
https://ladsweb.modaps.eosdis.nasa.gov/missions-and-measurements/products/VNP02DNB/


Thank you for the code, I only changed the path but I am getting the
following error when I run the following part;

latlon = read_stars(
c('NETCDF:"VNP03DNB.A2020015.0236.001.2020044182419.nc
":/geolocation_data/latitude',
'NETCDF:"VNP03DNB.A2020015.0236.001.2020044182419.nc
":/geolocation_data/longitude'))

"Error in CPL_read_gdal(as.character(x), as.character(options),
as.character(driver),  :  file not found"

I checked the path. Thank you again.

Best,

Milu

On Fri, Mar 20, 2020 at 9:27 AM Edzer Pebesma <edzer.pebesma at uni-muenster.de>
wrote:

  
  
Message-ID: <CAMLwc7PGGVXmS7fRhvhRAD953WaFOefpiX2BEwF6g=4QS0OqHQ@mail.gmail.com>
In-Reply-To: <513d3e4a-7620-9ddd-f691-0a1e92218c8c@uni-muenster.de>