Hi All,

 

Is it possible union two code in one (R+SAGA) like this to export from .sgrd
to ascii files? (file: DCM_1_power10.sgrd, DCM_1_power11.sgrd,
DCM_1_power12.sgrd, ....DCM_1_power40.sgrd and DCM_2_power10.sgrd,
DCM_2_power11.sgrd, DCM_2_power12.sgrd, ....DCM_2_power40.sgrd) 

 

for(method in 1:40){

for (i in 1:length(power)){

                rsaga.sgrd.to.esri(in.sgrds=paste("DCM_1_power",
method,".sgrd",sep=""), #A# DCM_1_power

                out.grids=paste("DCM_1_power",method,".asc",sep=""))}}

 

for(method in 1:40){

for (i in 1:length(power)){

                rsaga.sgrd.to.esri(in.sgrds=paste("DCM_2_power",
method,".sgrd",sep=""), #A# DCM_2_power

                out.grids=paste("DCM_2_power",method,".asc",sep=""))}}

 

 

thanks

Ale


	[[alternative HTML version deleted]]


