Download_tif: Download tif files

Description Usage Arguments Examples

View source: R/Download_tif.R

Description

Function automates download of the .tif files (raster files).The defualt parameters include :- Product: "Surf_Temp_Daily_005dg (M*D11C1)", sensor: "Terra", prod_version: "6", out_format: "GTiff", MODIStspVersion: "1.3.3.1", timeseries_format: "ENVI Meta Files". Original MODIS Layers: Daytime land surface temperature Quality Indicators: Mandatory QA flag(day) The script doesn't download the .hdf files.

Usage

1
2
Download_tif(username = "abc", password = "**", start_date, end_date,
  option = 1, path_files)

Arguments

username

Character String; Username

password

Character String; Password

start_date

Character String; The start date

end_date

Character String; The end date

option

Numeric value; Takes value 1 or 2 : 1-USE default options 2-USE GUI for personalized options

path_files

Character String; Path where the user wants tif files to be stored

Examples

1
2
3
4
5
6
pwd<-getwd()
Download_tif(username="abc",password="**",
                           start_date="2017-12-19",
                           end_date="2017-12-21",
                           option=2,
                           path_files=pwd)

piyush96/LSTModis documentation built on May 21, 2019, 9:22 a.m.