python目录

This commit is contained in:
hekaiyu 2025-12-11 14:52:52 +08:00
parent d17b884bdb
commit 6c585b3063

View File

@ -86,7 +86,7 @@ public class DownloadT1hJob {
List<String> 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,