A class to download MODIS data from NASA FTP repository
Check if a file already exists in the directory of download
listNewFile = list of all files, returned by getFilesList function
move = it is useful to know if a function is called from download or move function
Set connection to ftp server, move to path where data are stored and create a list of directories for all days
ncon = number maximum of test to connection at the ftp server
Downloads tiles are in files_hdf_consider
listFilesDown = list of the files to download, returned by checkDataExist function
Create a list of files to download, it is possible choose to download also the jpeg files or only the hdf files
Class to parse MODIS xml files, it also can create the parameter configuration file for resampling MODIS DATA with the MRT software or convertmodis Module
Create the parameter file to use with resample MRT software to create tif file
spectral = the spectral subset to be used, look the product table to understand the layer that you want use. For example:
- NDVI ( 1 1 1 0 0 0 0 0 0 0 0 0) copy only layer NDVI, EVI and QA VI the other layers are not used
- LST ( 1 1 0 0 1 1 0 0 0 0 0 0 ) copy only layer daily and nightly temperature and QA
res = the resolution for the output file, it must be set in the map unit of output projection system. The software will use the original resolution of input file if res it isn’t set
output = the output name, if it doesn’t set will use the prefix name of input hdf file
utm = the UTM zone if projection system is UTM
projpar = a list of projection parameters, for more info check the Appendix C of MODIS reprojection tool user manual https://lpdaac.usgs.gov/content/download/4831/22895/file/mrt41_usermanual_032811.pdf
Create the parameter file to use with resample MRT software to create tif file
sds = Name of band/s (Science Data Set) to resample
geoloc = Name geolocation file (example MOD3, MYD3)
res = the resolution for the output file, it must be set in the map unit of output projection system. The software will use the original resolution of input file if res it isn’t set
output = the output name, if it doesn’t set will use the prefix name of input hdf file
utm = the UTM zone if projection system is UTM
projpar = a list of projection parameters, for more info check the Appendix C of MODIS reprojection tool user manual https://lpdaac.usgs.gov/content/download/4831/22895/file/mrt41_usermanual_032811.pdf
Return the input files (InputGranule) used to process the considered file
A class to convert modis data from hdf to tif using resample (from MRT tools)
A class to convert several MODIS tiles into a mosaic