Hi,
I am currently developing a Toolkit to simplify making LULC changes to the SWAT+ model. I am currently trying to run rev60.5.2_64rel using the following Node.js script;
var execFile = require('child_process').execFile;
const path = "C://Users//lxr20nkj//OneDrive - Bangor University//Documents//KESS 2 BUK2188//SWAT+//Catchments 2//LLYFNI2//TxtInOut//rev60.5.2_64rel.exe";
execFile(path, function(err, data) {
console.log('stdout', err, data.toString());
});
but I get the fortran error;
"forrtl: severe (151): allocatable array is already allocated"
I was wondering if anyone had had this issue before and knows a way around it that will allow me to run SWAT+ through the js application.
Thanks in advance
Alex