feat: phase 6 webbridge + generic workflow (resource slots, security, bellhop/kraken/ram assets)
这个提交包含在:
+286
@@ -7,6 +7,7 @@
|
||||
"type": "python",
|
||||
"module": "src.sample_algorithms",
|
||||
"function": "dc_removal_and_bandpass",
|
||||
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
|
||||
"inputs": {
|
||||
"raw_data": {
|
||||
"field": "raw_data",
|
||||
@@ -35,6 +36,7 @@
|
||||
"type": "python",
|
||||
"module": "src.sample_algorithms",
|
||||
"function": "stft_magnitude",
|
||||
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
|
||||
"inputs": {
|
||||
"clean_data": {
|
||||
"field": "clean_data",
|
||||
@@ -58,6 +60,7 @@
|
||||
"type": "python",
|
||||
"module": "src.sample_algorithms",
|
||||
"function": "snr_estimation",
|
||||
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
|
||||
"inputs": {
|
||||
"raw_data": {
|
||||
"field": "raw_data",
|
||||
@@ -81,6 +84,7 @@
|
||||
"type": "python",
|
||||
"module": "src.sample_algorithms",
|
||||
"function": "quality_check",
|
||||
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
|
||||
"inputs": {
|
||||
"raw_data": {
|
||||
"field": "raw_data",
|
||||
@@ -104,6 +108,8 @@
|
||||
"type": "cpp",
|
||||
"lib_path": "src/sample_algos_cpp/simple_ops.so",
|
||||
"function": "multiply_by_factor_cpp",
|
||||
"sha256": "96dac08510cbc464c66b20eec8a3d69f5fcb5c7c5d3ea9c5765eb88d7f5f5d31",
|
||||
"isolate": true,
|
||||
"inputs": {
|
||||
"in_data": {
|
||||
"field": "clean_data",
|
||||
@@ -127,6 +133,7 @@
|
||||
"type": "matlab",
|
||||
"m_path": "src/sample_algos_matlab",
|
||||
"function": "bandpass_filter_m",
|
||||
"sha256": "c3a88dad53c37d4d83b0974c798e87e3790d329e7842053928b2867e44890249",
|
||||
"inputs": {
|
||||
"in_data": {
|
||||
"field": "raw_data",
|
||||
@@ -146,5 +153,284 @@
|
||||
"description": "滤波后数据"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Bellhop 传播损失",
|
||||
"version": "2.0-woa18",
|
||||
"author": "AcousticFastAPI",
|
||||
"description": "射线追踪法传播损失计算(自动加载 WOA18 环境数据)",
|
||||
"type": "web",
|
||||
"endpoint": "http://acoustic-api:8000/tl",
|
||||
"method": "POST",
|
||||
"slot_key": "acoustic-api-compute",
|
||||
"timeout_sec": 600,
|
||||
"fixed_params": {
|
||||
"modelType": "bellhop"
|
||||
},
|
||||
"inputs": {
|
||||
"freq": {
|
||||
"field": "sea_env.modeling.freq_hz",
|
||||
"type": "float",
|
||||
"description": "建模频率 (Hz)"
|
||||
},
|
||||
"sourceDepth": {
|
||||
"field": "sea_env.modeling.source_depth_m",
|
||||
"type": "int",
|
||||
"description": "源深度 (m)"
|
||||
},
|
||||
"receiveDepth": {
|
||||
"field": "sea_env.modeling.receive_depth_m",
|
||||
"type": "int",
|
||||
"description": "接收深度 (m)"
|
||||
},
|
||||
"sLat": {
|
||||
"field": "sea_env.modeling.source_lat",
|
||||
"type": "float",
|
||||
"description": "源点纬度"
|
||||
},
|
||||
"sLon": {
|
||||
"field": "sea_env.modeling.source_lon",
|
||||
"type": "float",
|
||||
"description": "源点经度"
|
||||
},
|
||||
"rLat": {
|
||||
"field": "sea_env.modeling.receive_lat",
|
||||
"type": "float",
|
||||
"description": "接收点纬度"
|
||||
},
|
||||
"rLon": {
|
||||
"field": "sea_env.modeling.receive_lon",
|
||||
"type": "float",
|
||||
"description": "接收点经度"
|
||||
},
|
||||
"timeType": {
|
||||
"field": "sea_env.modeling.time_type",
|
||||
"type": "str",
|
||||
"description": "时间段"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"transmission_loss": {
|
||||
"field": "vis_data.tl_result_path",
|
||||
"type": "str",
|
||||
"description": "TL 数据文件路径"
|
||||
},
|
||||
"bathymetry": {
|
||||
"field": "vis_data.tl_bathym_path",
|
||||
"type": "str",
|
||||
"description": "地形数据文件路径"
|
||||
},
|
||||
"picture": {
|
||||
"field": "vis_data.tl_picture_path",
|
||||
"type": "str",
|
||||
"description": "TL 图片路径"
|
||||
},
|
||||
"summary": {
|
||||
"field": "core_index.tl_summary",
|
||||
"type": "dict",
|
||||
"description": "TL 统计摘要"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kraken 传播损失",
|
||||
"version": "2.0-woa18",
|
||||
"author": "AcousticFastAPI",
|
||||
"description": "简正波法传播损失计算(适用于低频深海场景)",
|
||||
"type": "web",
|
||||
"endpoint": "http://acoustic-api:8000/tl",
|
||||
"method": "POST",
|
||||
"slot_key": "acoustic-api-compute",
|
||||
"timeout_sec": 600,
|
||||
"fixed_params": {
|
||||
"modelType": "kraken"
|
||||
},
|
||||
"inputs": {
|
||||
"freq": {
|
||||
"field": "sea_env.modeling.freq_hz",
|
||||
"type": "float",
|
||||
"description": "建模频率 (Hz)"
|
||||
},
|
||||
"sourceDepth": {
|
||||
"field": "sea_env.modeling.source_depth_m",
|
||||
"type": "int",
|
||||
"description": "源深度 (m)"
|
||||
},
|
||||
"receiveDepth": {
|
||||
"field": "sea_env.modeling.receive_depth_m",
|
||||
"type": "int",
|
||||
"description": "接收深度 (m)"
|
||||
},
|
||||
"sLat": {
|
||||
"field": "sea_env.modeling.source_lat",
|
||||
"type": "float",
|
||||
"description": "源点纬度"
|
||||
},
|
||||
"sLon": {
|
||||
"field": "sea_env.modeling.source_lon",
|
||||
"type": "float",
|
||||
"description": "源点经度"
|
||||
},
|
||||
"rLat": {
|
||||
"field": "sea_env.modeling.receive_lat",
|
||||
"type": "float",
|
||||
"description": "接收点纬度"
|
||||
},
|
||||
"rLon": {
|
||||
"field": "sea_env.modeling.receive_lon",
|
||||
"type": "float",
|
||||
"description": "接收点经度"
|
||||
},
|
||||
"timeType": {
|
||||
"field": "sea_env.modeling.time_type",
|
||||
"type": "str",
|
||||
"description": "时间段"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"transmission_loss": {
|
||||
"field": "vis_data.tl_result_path",
|
||||
"type": "str",
|
||||
"description": "TL 数据文件路径"
|
||||
},
|
||||
"bathymetry": {
|
||||
"field": "vis_data.tl_bathym_path",
|
||||
"type": "str",
|
||||
"description": "地形数据文件路径"
|
||||
},
|
||||
"picture": {
|
||||
"field": "vis_data.tl_picture_path",
|
||||
"type": "str",
|
||||
"description": "TL 图片路径"
|
||||
},
|
||||
"summary": {
|
||||
"field": "core_index.tl_summary",
|
||||
"type": "dict",
|
||||
"description": "TL 统计摘要"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RAM 传播损失",
|
||||
"version": "2.0-woa18",
|
||||
"author": "AcousticFastAPI",
|
||||
"description": "抛物方程法传播损失计算(适用于浅海复杂地形)",
|
||||
"type": "web",
|
||||
"endpoint": "http://acoustic-api:8000/tl",
|
||||
"method": "POST",
|
||||
"slot_key": "acoustic-api-compute",
|
||||
"timeout_sec": 600,
|
||||
"fixed_params": {
|
||||
"modelType": "ram"
|
||||
},
|
||||
"inputs": {
|
||||
"freq": {
|
||||
"field": "sea_env.modeling.freq_hz",
|
||||
"type": "float",
|
||||
"description": "建模频率 (Hz)"
|
||||
},
|
||||
"sourceDepth": {
|
||||
"field": "sea_env.modeling.source_depth_m",
|
||||
"type": "int",
|
||||
"description": "源深度 (m)"
|
||||
},
|
||||
"receiveDepth": {
|
||||
"field": "sea_env.modeling.receive_depth_m",
|
||||
"type": "int",
|
||||
"description": "接收深度 (m)"
|
||||
},
|
||||
"sLat": {
|
||||
"field": "sea_env.modeling.source_lat",
|
||||
"type": "float",
|
||||
"description": "源点纬度"
|
||||
},
|
||||
"sLon": {
|
||||
"field": "sea_env.modeling.source_lon",
|
||||
"type": "float",
|
||||
"description": "源点经度"
|
||||
},
|
||||
"rLat": {
|
||||
"field": "sea_env.modeling.receive_lat",
|
||||
"type": "float",
|
||||
"description": "接收点纬度"
|
||||
},
|
||||
"rLon": {
|
||||
"field": "sea_env.modeling.receive_lon",
|
||||
"type": "float",
|
||||
"description": "接收点经度"
|
||||
},
|
||||
"timeType": {
|
||||
"field": "sea_env.modeling.time_type",
|
||||
"type": "str",
|
||||
"description": "时间段"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"transmission_loss": {
|
||||
"field": "vis_data.tl_result_path",
|
||||
"type": "str",
|
||||
"description": "TL 数据文件路径"
|
||||
},
|
||||
"bathymetry": {
|
||||
"field": "vis_data.tl_bathym_path",
|
||||
"type": "str",
|
||||
"description": "地形数据文件路径"
|
||||
},
|
||||
"picture": {
|
||||
"field": "vis_data.tl_picture_path",
|
||||
"type": "str",
|
||||
"description": "TL 图片路径"
|
||||
},
|
||||
"summary": {
|
||||
"field": "core_index.tl_summary",
|
||||
"type": "dict",
|
||||
"description": "TL 统计摘要"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "声速剖面查询",
|
||||
"version": "2.0-woa18",
|
||||
"author": "AcousticFastAPI",
|
||||
"description": "根据经纬度和时间段从 WOA18 和 ETOPO1 查询声速剖面",
|
||||
"type": "web",
|
||||
"endpoint": "http://acoustic-api:8000/profile",
|
||||
"method": "POST",
|
||||
"slot_key": "acoustic-api-compute",
|
||||
"timeout_sec": 120,
|
||||
"inputs": {
|
||||
"lat": {
|
||||
"field": "sea_env.modeling.source_lat",
|
||||
"type": "float",
|
||||
"description": "纬度"
|
||||
},
|
||||
"lon": {
|
||||
"field": "sea_env.modeling.source_lon",
|
||||
"type": "float",
|
||||
"description": "经度"
|
||||
},
|
||||
"timeType": {
|
||||
"field": "sea_env.modeling.time_type",
|
||||
"type": "str",
|
||||
"description": "时间段"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"profile": {
|
||||
"field": "vis_data.profile_path",
|
||||
"type": "str",
|
||||
"description": "剖面数据文件路径"
|
||||
},
|
||||
"picture": {
|
||||
"field": "vis_data.profile_picture_path",
|
||||
"type": "str",
|
||||
"description": "剖面图片路径"
|
||||
},
|
||||
"summary": {
|
||||
"field": "core_index.profile_summary",
|
||||
"type": "dict",
|
||||
"description": "声道特征摘要"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
在新工单中引用
屏蔽一个用户