luna icon indicating copy to clipboard operation
luna copied to clipboard

getModis not respecting version = "006"

Open DavidDHofmann opened this issue 1 year ago • 1 comments

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
)

DavidDHofmann avatar Mar 16 '23 15:03 DavidDHofmann

I'm also having this issue with getNASA in luna_0.3-6 (installed today). It downloads 061 even when I specify version='006'.

elweiser avatar Jan 26 '24 00:01 elweiser