diff --git a/index.php b/index.php index a339bc2..1609aff 100644 --- a/index.php +++ b/index.php @@ -96,7 +96,8 @@ function makeINI($pred_model) { // makes an ini file function runGRIB($pred_model) { // runs the grib predictor $lockfile = fopen("lock", "w"); $shellcmd = "./one_off_prediction " . $pred_model['lat'] . " " . $pred_model['lon'] . " " . $pred_model['alt'] ." " . (float)$pred_model['asc'] . " " . $pred_model['des']*1.1045 . " " . $pred_model['burst'] . " " . $pred_model['timestamp'] . " " . $pred_model['float'] . " &"; - shell_exec($shellcmd); + echo $shellcmd; + //shell_exec($shellcmd); if (!file_exists("flight_path.csv")) { unlink("lock"); die("The predictor didn't write a file"); @@ -208,7 +209,7 @@ function initialize() { mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); - //parseCSV("new.csv"); // debug remove + // parseCSV("http://www.hexoc.com/hab/predict/websitepred/flight_path.csv"); // debug remove if ( form_submitted ) handlePred(running_uuid); } diff --git a/valid_model_run b/valid_model_run index fdd471e..c393b87 100644 --- a/valid_model_run +++ b/valid_model_run @@ -1,2 +1,2 @@ -2010052718 -1274983200 \ No newline at end of file +2010052800 +1275004800 \ No newline at end of file