dcb
2025-06-30 59b432c883011119649c283cc9d4c1d357599802
src/main/resources/application-dev.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: D:\gdal\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: D:\uwsolver
  outPath: D:\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,23 @@
  rainPeriod: 10
  # 流量单位,LPS(升/秒)、CMS(立方米/秒)、CFS(立方英尺/秒)
  flowUnits: CMS
  solverBat: D:\uwsolver\run_solver.bat
  sww2tifBat: D:\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-2.2.1\cuws.bat
#  uwSolverBat: D:\other\simu\CudaUWSolver-2.0\start.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
  epsg: 4548
#  saveFrames: 3
  #生成帧数的间隔时间,单位是分钟,设置为5表示每隔5分钟生成一帧
  saveFrameInterval: 20
  saveFilter: 0.015
  # 土地利用: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
  buildingFile: buildings_inside.shp
@@ -148,5 +163,20 @@
  buildingKey: KJSFBM
  waterPath: depth
  flowPath: velocity
  landuseFile: Landuse.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:\城市内涝\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
  #tif中的高程文件名要含有dem,土地利用要含有landuse,站点要含有station,不限制大小写,文字尽量用英文字母表达
  keyDitch: D:\other\simu\CudaUWSolver-2.2.1\KeyDitch
realtime-simulate-config:
  url: http://192.168.56.106:9522/ylclyPacket/getData
  token: YjhhYjAwOWFhMjk1MTM1ZDA0NGU3ZWZlMDQzMzUzZDE1MGJmY2Q4ZWEyYjliNjQzZjcwMjhlNDY0ZjAxNWZjOTZmNzMwYmNmZDA2YmVmNTIzNjU0ZDgzODRjYTUxYTM1
  realTimeInterval: 5
  #请求雨量计数据时,时间范围相差多少分钟
  requestOffsetMinutes: 15
  #往前偏移多少天,为了方便实时模拟以前的降雨情况,设置为0表示,从当前时间开始计算
  offsetDays: 0