目录修改
This commit is contained in:
parent
6c585b3063
commit
b37b982d8e
|
|
@ -94,7 +94,7 @@ public class DownloadT1hJob {
|
|||
"--forecast_times", String.join(",", forecastTimes),
|
||||
"--base_date", baseTime
|
||||
);
|
||||
|
||||
processBuilder.directory(new File(systemStorageProperties.getRootPath()));
|
||||
ExecutePyUtils.executePythonProcess(processBuilder, "文件合并");
|
||||
}
|
||||
|
||||
|
|
@ -127,6 +127,7 @@ public class DownloadT1hJob {
|
|||
log.info("执行Python脚本: {}", Arrays.toString(command));
|
||||
|
||||
ProcessBuilder processBuilder = new ProcessBuilder(command);
|
||||
processBuilder.directory(new File(systemStorageProperties.getRootPath()));
|
||||
ExecutePyUtils.executePythonProcess(processBuilder,
|
||||
String.format("元素%s预报时长%s下载", element, forecastHours));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user