![]() ![]() If the download is canceled mid-way and the same exact products are downloaded again, it can be useful to avoid re-downloading them. The downloaded products are cashed using a hash digest of the inputs. Logical, specify whether the product should be re-downloaded if it had been downloaded before. If TRUE, the original HDF files will be deleted after mosaic or reproject into new files. The parameter should be entered as: bands_subset="0 1 0 0 0 0". Example: Suppose your image has 6 bands and you only need the second band. You need to know how many bands the product has, and which bands you want to be subset. Through this argument you ca select a subset of bands. HDF-EOS input files contain several layers of data (bands). It is needed only if you need to mosaic and/or reproject the images. Path to the bin folder into the installed directory of MRT software. Resample method for reprojection based on GDAL, can be one of "near","bilinear","cubic",or "cubicspline" (default: "near") Integer vector specifies the layer number for subsetting bands Examples: h=15 h=c(14,15) v=c(4:7)Ī character vector with the length of one or two, specifiying an individual date or a range of dates as the form of c(from, to)Ĭoordinate reference system definiation (or a SpatRaster defines definition of new Raster for resampling) Together with v specify the position of the Modis image tile(s). It can also be the http address of the product. Product name or a number specifies the product row in the ame generated by modisProduct function. nerc file that has been previously created by setNASAauth, should be updated ReprojectHDF(hdfName,crs,subset,resample_method,filename.) MosaicHDF(hdfNames,filename,MRTpath,bands_subset,delete=FALSE) GetMODIS(x,h,v,dates,version='006',forceReDownload=TRUE,ncore='auto') As the format of the source images in LP DAAC is HDF, this tool can also convert them into other formats (i.e. ![]() ![]() It can also use MODIS Reproject Tool (MRT) software to mosaic the downloaded images, in case of selecting more than one tile, and reproject them to a specified coordinate system. 'ModisDownload' downloads a series of MODIS images in a specific date or a period of times, and for specified tile(s). Download, reproject, and mosaic Modis satellite images Description ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |