Revision 007cf8bd
Added by Benoit Parmentier over 11 years ago
climate/research/oregon/interpolation/download_and_produce_MODIS_LST_climatology.R | ||
---|---|---|
116 | 116 |
} |
117 | 117 |
|
118 | 118 |
## Run function: |
119 |
list_tiles_modis <- c("h09v03,h10v03,h11v03,h12v03,h13v03,h14v03") #tiles for Northenr America, Northern US...
|
|
119 |
#list_tiles_modis <- c("h09v02,h10v02,h11v02,h12v02,h13v02,h14v02,h15v02") #tiles for Northenr America, Northern US...
|
|
120 | 120 |
#list_tiles_modis <- c("h10v04,h11v04,h12v04,h13v04,h14v04,h07v06") #tiles for Northenr America, Northern US... |
121 | 121 |
#list_tiles_modis <- c("h12v04,h13v04,h14v04,h07v06") #tiles for Northenr America, Northern US... |
122 | 122 |
#list_tiles_modis <- c("h11v08,h11v07,h12v07,h12v08,h10v07,h10v08") #tile for Venezuela and surrounding area |
... | ... | |
126 | 126 |
#list_tiles_modis <- c("h09v04,h09v04") #tiles for Oregon #defined above... |
127 | 127 |
#list_tiles_modis <- c("h09v08,h09v07,h08v07,h0706,h08v06,h09v06,h10v06,h08v05,h09v05,h10v05,h11v05,h12v05") #tiles for Central America and Mexico Southern US... |
128 | 128 |
#list_tiles_modis <- c("h09v09,h10v09,h11v09,h12v09,h13v09,h14v09") |
129 |
#list_tiles_modis <-c("h30v10,h31v10,h32v10,h30v11,h31v11") #list("Queensland")
|
|
129 |
list_tiles_modis <-c("h30v10,h31v10,h32v10,h30v11,h31v11") #list("Queensland") |
|
130 | 130 |
|
131 | 131 |
script_path<-"/home/parmentier/Data/IPLANT_project/env_layers_scripts/" |
132 | 132 |
modis_download_script <- file.path(script_path,"modis_download_05142013.py") # LST modis download python script |
133 |
clim_script <- file.path(script_path,"climatology_05142013.py") # LST climatology python script
|
|
133 |
clim_script <- file.path(script_path,"climatology_06092013.py") # LST climatology python script
|
|
134 | 134 |
grass_setting_script <- file.path(script_path,"grass-setup.R") |
135 | 135 |
var="TMAX" |
136 | 136 |
start_year = "2001" |
... | ... | |
141 | 141 |
|
142 | 142 |
hdfdir = '/data/project/layers/commons/modis/MOD11A1_tiles' #destination file where hdf files are stored locally after download. |
143 | 143 |
#hdfdir = '/home/parmentier/Data/IPLANT_project/MOD11A1_tiles' |
144 |
download=1
|
|
145 |
clim_calc=0
|
|
146 |
out_suffix_modis="_05312013"
|
|
144 |
download=0
|
|
145 |
clim_calc=1
|
|
146 |
out_suffix_modis="_05242013"
|
|
147 | 147 |
|
148 | 148 |
list_param_download_clim_LST_script <- list(list_tiles_modis,start_year,end_year,hdfdir, |
149 | 149 |
var,grass_setting_script,modis_download_script, clim_script, |
Also available in: Unified diff
LST calculation for Queensland region