Skip to content

Commit 23284b4

Browse files
Update orchestrateSpecies.sh
1 parent 56e8699 commit 23284b4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

orchestrateSpecies.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ species=("Picea.abies" "Fagus.sylvatica" "Quercus.sp"
1212
"Carpinus.betulus" "Populus.tremula" "Quercus.pyrenaica"
1313
"Pinus.sylvestris" "Castanea.sativa" "Prunus.avium" "Pinus.contorta")
1414

15-
model='gam' #('gam','glm','brt')
16-
dist=20
15+
model='gam' #('gam','glm','brt') #choose one model
16+
dist=20 #estimated spatial distance for reducing spatial autocorrelation
17+
rcp='26' #('26','45','85') #chose a rcp
1718
for spec in ${species[*]}
1819
do
19-
echo $spec # -a 26,45,85 -necessary for compare
20+
##run each script separately per species
21+
echo $spec
2022
Rscript --vanilla blockSeparation.r predefined 600000
2123
#Rscript --vanilla modelling.r "$species" "$model" "$dist" #20
22-
#Rscript --vanilla prediction.r "$species" 20 #"$dist"
23-
#Rscript --vanilla compare.r "$species" "$dist" "ABC"
24+
#Rscript --vanilla prediction.r "$species" "$dist"
25+
#Rscript --vanilla compare.r "$species" "$dist" "$rcp" "ABC"
2426
echo ' '
2527
done

0 commit comments

Comments
 (0)