From 45e5ecaf4a407f95e318da1cf7380c669899b386 Mon Sep 17 00:00:00 2001 From: wuww <252740454@qq.com> Date: 星期三, 14 五月 2025 10:29:54 +0800 Subject: [PATCH] 解决调用zarr2tif出错 --- src/main/resources/application-prod.yml | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index a4eb0a0..e949b32 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,5 +1,5 @@ server: - port: 8079 + port: 8078 servlet: context-path: /api @@ -105,16 +105,17 @@ # 妯℃嫙椤圭洰 simu-app: # 椤圭洰妯℃嫙鏂囦欢涓婁紶瀛樻斁鐨勪綅缃� - filePath: D:\simu\files + filePath: D:\other\simu\files config: ver: 0.2 cacheTime: 60 # Gdal椹卞姩鐩綍 - gdalPath: H:/simu/release-1928-x64-dev/release-1928-x64/bin + #gdalPath: D:\soft\release-1928-x64-dev\release-1928-x64\bin + gdalPath: C:\Program Files\GDAL #inPath: D:\simu\in - inPath: H:\simu\uwsolver - outPath: H:\simu\out + inPath: D:\other\simu\uwsolver + outPath: D:\other\simu\out host: http://106.120.22.26:8024/ user: admin pwd: admin @@ -138,9 +139,20 @@ rainPeriod: 10 # 娴侀噺鍗曚綅锛孡PS锛堝崌/绉掞級銆丆MS锛堢珛鏂圭背/绉�)銆丆FS(绔嬫柟鑻卞昂/绉�) flowUnits: CMS - solverBat: H:\simu\uwsolver\run_solver.bat - sww2tifBat: H:\simu\uwsolver\sww2tif.bat - #sizes: 64,128,256,512,1024,2048 + solverBat: D:\other\simu\uwsolver\run_solver.bat + sww2tifBat: D:\other\simu\uwsolver\sww2tif.bat + uwSolverBat: D:\other\simu\CudaUWSolver.Demo.NoVis.20250430\start.bat + #zarr2tifBat: D:\other\simu\zarr2tif1.0\start.bat + #zarr2tifBat: D:\other\simu\zarr2tif-2.0-mkl\start.bat + zarr2tifBat: D:\other\simu\zarr2tif-2.1\start.bat + createRainfall: '"C:\Program Files\Python310\python.exe" D:\terrait\NslServer\data\CreatRainfall.py' + rainfallTitle: Station Longitude Latitude Year Month Day Hour Minute Intensity + rainfallSite: beijing + epsg: 4548 + saveFrames: 10 + # 鍦熷湴鍒╃敤锛�1-Cropland,2-Forest,3-Shrub,4-Grassland,5-Water,6-Snow/Ice,7-Barren,8-Impervious,9-Wetland + landuse: 2 + #sizes: 64,128,256,512,1024,2048,4096 sizes: 1024 # 杈撳嚭鏂囦欢 terrainFile: DEM.tif @@ -150,4 +162,4 @@ waterPath: depth flowPath: velocity copyTif: false - tifPath: D:\鍩庡競鍐呮稘\sem\tongzhou_1m_tif\tongzhou_raster_4548_1m_clip_river_fill.tif + tifPath: D:\other\simu\uwsolver\5ca43c87cd8e48c5a9c5399a5da46dbc\tongzhou_raster_4548_1m_clip_river_fill.tif -- Gitblit v1.9.3