Page 1 of 1

VNP46A4 Data

Posted: Sat Apr 13, 2024 7:42 pm America/New_York
by ramzan
Hi

I have to get the following data please VNP46A4 - VIIRS/NPP Lunar BRDF-Adjusted Nighttime Lights

I have the R code

for(year_month_i in months){

OUT_FILE <- file.path(ntl_bm_dir, "FinalData", "monthly_rasters",
paste0("bm_vnp46A3_",
year_month_i %>% str_replace_all("-", "_"),
".tif"))

if(!file.exists(OUT_FILE)){
print(year_month_i)

r <- bm_mk_raster(loc_sf = survey_buff_sf,
product_id = "VNP46A3",
time = year_month_i,
bearer = BEARER,
mask = F)

writeRaster(r, OUT_FILE)
}
}


which is not working please due to some issue

can any guide me how I can download the data being downloaded in R code manually please

Re: VNP46A4 Data

Posted: Mon Apr 15, 2024 9:08 am America/New_York
by LAADS_UserServices_M

Re: VNP46A4 Data

Posted: Mon Apr 15, 2024 10:49 am America/New_York
by ramzan
Thanks
Can you please have a video of guide how to download this data manually please

Regards

Re: VNP46A4 Data

Posted: Tue Apr 16, 2024 6:53 am America/New_York
by LAADS_UserServices_M
You can find all tutorials including videos at:
https://ladsweb.modaps.eosdis.nasa.gov/learn#tutorials