diff --git a/jeecg-module-weather/src/main/java/org/jeecg/job/DownloadT1hJob.java b/jeecg-module-weather/src/main/java/org/jeecg/job/DownloadT1hJob.java index 271cc55..9895767 100644 --- a/jeecg-module-weather/src/main/java/org/jeecg/job/DownloadT1hJob.java +++ b/jeecg-module-weather/src/main/java/org/jeecg/job/DownloadT1hJob.java @@ -86,7 +86,7 @@ public class DownloadT1hJob { List forecastTimes = generateForecastTimes(); ProcessBuilder processBuilder = new ProcessBuilder( - "python", + systemStorageProperties.getAiModelsPath() + File.separator + "python3 ", getPythonScriptPath(t1hDownloadProperties.getMergeT1hPy()), "--indir", getFullPath(t1hDownloadProperties.getT1hPath(), baseTime), "--output_dir", getFullPath(systemStorageProperties.getT1h(), baseTime), @@ -136,7 +136,7 @@ public class DownloadT1hJob { */ private String[] buildPythonCommand(String element, String baseTime, String forecastHours) { return new String[]{ - "python", + systemStorageProperties.getAiModelsPath() + File.separator + "python3 ", getPythonScriptPath(t1hDownloadProperties.getDownloadT1hPy()), "--base-time", baseTime, "--element", element,