Function for writing job.sh file for ED2 runs

write.config.jobsh.ED2(settings, run.id)

Arguments

settings

PEcAn settings list. For this function, need the following: run$host$rundir, run$host$outdir, run$host$scratchdir, run$host$clearscratch, model$jobtemplate, model$job.sh, run$host$job.sh, run$site$lat, run$site$lon, run$inputs$met$path, run$start.date, run$end.date, model$binary, model$binary_args

run.id

PEcAn run ID

Value

Character vector containing job.sh file

Details

Refactored by Alexey Shiklomanov to allow use in PEcAn RTM module.

Author

David LeBauer, Shawn Serbin, Carl Davidson, Alexey Shiklomanov