script to download modis products (MOD09A1 and/or MOD13Q1)
You need to install the terra and luna package
# install.packages("remotes", dep = T)
remotes::install_github("rspatial/terra")
remotes::install_github("rspatial/luna")
remotes::install_github("datasketch/geodata")