luna
luna copied to clipboard
getModis not respecting version = "006"
Hi
I'm trying to access data for MOD44B, but only version 006. However, the getModis()
function does not respect the version argument, such that also version 061 gets returned. I think this is coming from the fact that the argument is not being passed on to the .searchGranules()
function.
getModis(
product = "MOD44B"
, start_date = "2011-01-01"
, end_date = "2012-01-01"
, aoi = extent(c(20, 28, -22, -16))
, server = "LPDAAC_ECS"
, version = "006" # doesn't do anything
)
I'm also having this issue with getNASA in luna_0.3-6 (installed today). It downloads 061 even when I specify version='006'.