# Check your working directory
moddir = getwd()
# Here are some example MODIS files in mod09nrt/extdata/
# Code excluded from CRAN check because it depends on modiscdata
## Not run:
# library(devtools)
# library(modiscdata)
# moddir = system.file("extdata/2002raw/", package="modiscdata")
#
# # You need to have some e.g. MOD files in it (from the MODIS-TERRA platform)
# list.files(path=moddir, pattern="MOD")
# list.files(path=moddir, pattern="MOD")
#
# # Check for matches (for MODIS-TERRA platform)
# check_for_matching_geolocation_files_mod09nrt(moddir=moddir, modtxt="MOD09", geoloctxt="MOD03",
# return_geoloc=FALSE, return_product=FALSE)
# ## End(Not run)
Run the code above in your browser using DataLab