From 043d1bd4860bbee636b3935e94a71246091cbf3f Mon Sep 17 00:00:00 2001 From: dcb <xgybdcb@163.com> Date: 星期二, 24 六月 2025 15:29:24 +0800 Subject: [PATCH] 实时模拟功能实现 --- src/main/resources/application-dev.yml | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 72f1532..e2b3ccf 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -141,9 +141,9 @@ flowUnits: CMS solverBat: D:\other\simu\uwsolver\run_solver.bat sww2tifBat: D:\other\simu\uwsolver\sww2tif.bat - uwSolverBat: D:\other\simu\CudaUWSolver-2.2\cuws.bat + uwSolverBat: D:\other\simu\CudaUWSolver-2.2.1\cuws.bat # uwSolverBat: D:\other\simu\CudaUWSolver-2.0\start.bat - zarr2tifBat: D:\other\simu\CudaUWSolver-2.2\zarr2tif.bat + zarr2tifBat: D:\other\simu\CudaUWSolver-2.2.1\zarr2tif.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 @@ -155,7 +155,7 @@ # 鍦熷湴鍒╃敤锛�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,2048,4096 + sizes: 1024 # 杈撳嚭鏂囦欢 terrainFile: DEM.tif buildingFile: buildings_inside.shp @@ -164,10 +164,18 @@ waterPath: depth flowPath: velocity landuseFile: Landuse.tif - sourceDem: D:\other\simu\CudaUWSolver-2.2\Beijing-Data-10m\Beijing-4548-ASTERDEMV3-10m-f32.tif - sourceLanduse: D:\other\simu\CudaUWSolver-2.2\Beijing-Data-10m\Beijing-4548-Landuse-10m-Nonodata.tif + sourceDem: D:\other\simu\CudaUWSolver-2.2.1\Beijing-Data-10m\Beijing-4548-ASTERDEMV3-10m-f32.tif + sourceLanduse: D:\other\simu\CudaUWSolver-2.2.1\Beijing-Data-10m\Beijing-4548-Landuse-10m-Nonodata.tif copyTif: false tifPath: D:\other\simu\uwsolver\5ca43c87cd8e48c5a9c5399a5da46dbc\tongzhou_raster_4548_1m_clip_river_fill.tif #tif涓殑楂樼▼鏂囦欢鍚嶈鍚湁dem锛屽湡鍦板埄鐢ㄨ鍚湁landuse锛岀珯鐐硅鍚湁station锛屼笉闄愬埗澶у皬鍐欙紝鏂囧瓧灏介噺鐢ㄨ嫳鏂囧瓧姣嶈〃杈� - keyDitch: D:\other\simu\CudaUWSolver-2.2\KeyDitch + keyDitch: D:\other\simu\CudaUWSolver-2.2.1\KeyDitch +gauge-server: + url: http://192.168.56.106:9522/ylclyPacket/getData + token: YjhhYjAwOWFhMjk1MTM1ZDA0NGU3ZWZlMDQzMzUzZDE1MGJmY2Q4ZWEyYjliNjQzZjcwMjhlNDY0ZjAxNWZjOTZmNzMwYmNmZDA2YmVmNTIzNjU0ZDgzODRjYTUxYTM1 + #璇锋眰闆ㄩ噺璁℃暟鎹椂锛屾椂闂磋寖鍥寸浉宸灏戝垎閽� + requestOffsetMinutes: 10 + #寰�鍓嶅亸绉诲灏戝ぉ锛屼负浜嗘柟渚垮疄鏃舵ā鎷熶互鍓嶇殑闄嶉洦鎯呭喌,璁剧疆涓�0琛ㄧず锛屼粠褰撳墠鏃堕棿寮�濮嬭绠� + offsetDays: 0 + -- Gitblit v1.9.3