python目录
This commit is contained in:
parent
d17b884bdb
commit
6c585b3063
|
|
@ -86,7 +86,7 @@ public class DownloadT1hJob {
|
||||||
List<String> forecastTimes = generateForecastTimes();
|
List<String> forecastTimes = generateForecastTimes();
|
||||||
|
|
||||||
ProcessBuilder processBuilder = new ProcessBuilder(
|
ProcessBuilder processBuilder = new ProcessBuilder(
|
||||||
"python",
|
systemStorageProperties.getAiModelsPath() + File.separator + "python3 ",
|
||||||
getPythonScriptPath(t1hDownloadProperties.getMergeT1hPy()),
|
getPythonScriptPath(t1hDownloadProperties.getMergeT1hPy()),
|
||||||
"--indir", getFullPath(t1hDownloadProperties.getT1hPath(), baseTime),
|
"--indir", getFullPath(t1hDownloadProperties.getT1hPath(), baseTime),
|
||||||
"--output_dir", getFullPath(systemStorageProperties.getT1h(), baseTime),
|
"--output_dir", getFullPath(systemStorageProperties.getT1h(), baseTime),
|
||||||
|
|
@ -136,7 +136,7 @@ public class DownloadT1hJob {
|
||||||
*/
|
*/
|
||||||
private String[] buildPythonCommand(String element, String baseTime, String forecastHours) {
|
private String[] buildPythonCommand(String element, String baseTime, String forecastHours) {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"python",
|
systemStorageProperties.getAiModelsPath() + File.separator + "python3 ",
|
||||||
getPythonScriptPath(t1hDownloadProperties.getDownloadT1hPy()),
|
getPythonScriptPath(t1hDownloadProperties.getDownloadT1hPy()),
|
||||||
"--base-time", baseTime,
|
"--base-time", baseTime,
|
||||||
"--element", element,
|
"--element", element,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user