Extraction of Bands from MODIS Surface Reflectance Product MOD09 NRT
Checks that every MODIS surface reflectance project HDF has a matching...
Get the filename from a path
Convert to data.frame, without factors
Run MRTSwath swath2grid tool
Remove double slash (slash a slash)
Write a parameter control file for MRTSwath
Package for processing downloaded MODIS Surface reflectance Product HDF files. Specifically, MOD09 surface reflectance product files, and the associated MOD03 geolocation files (for MODIS-TERRA). The package will be most effective if the user installs MRTSwath (MODIS Reprojection Tool for swath products; <https://lpdaac.usgs.gov/tools/modis_reprojection_tool_swath>, and adds the directory with the MRTSwath executable to the default R PATH by editing ~/.Rprofile.