Commit 0cd9dd34 authored by jbferet's avatar jbferet
Browse files

fixed hard coded instruction

parent 81cd0b47
......@@ -107,9 +107,7 @@ Convert.Raster2BIL = function(Raster.Path,Sensor = 'unknown',Output.Directory =
if (!Sensor=='unknown'){
# ! HARD-CODED
# HDR.Temp.Path = paste('DiversityMappR/data-raw/HDR/',Sensor,'.hdr',sep='')
HDR.Temp.Path = paste('D:/PUBLICATIONS/2019d_DiversityMappR/01_CODES/DiversityMappR/data-raw/HDR/',Sensor,'.hdr',sep='')
HDR.Temp.Path = system.file('extdata','HDR',paste0(Sensor,'.hdr'),package = 'DiversityMappR')
if (file.exists(HDR.Temp.Path)){
message('reading header template corresponding to the sensor located here:')
print(HDR.Temp.Path)
......
......@@ -19,7 +19,5 @@
5- put the binary package ready to be installed in a directory publicly available where the data is stored as well.
6- replace hard-coded instructions (e.g. Lib_CheckConvertData.R line 110 to get access to the HDR templates)
7- CRAN & nettoyage du code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment