From 6c585b3063e8a45eeccae1e9cfbe77d5dcb89929 Mon Sep 17 00:00:00 2001 From: hekaiyu <13673834656@163.com> Date: Thu, 11 Dec 2025 14:52:52 +0800 Subject: [PATCH] =?UTF-8?q?python=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/jeecg/job/DownloadT1hJob.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,