docs: update production workflow design and runtime changes

This commit is contained in:
2026-06-14 18:47:00 +08:00
parent 58a87706ef
commit b1c59051b9
41 changed files with 2042 additions and 134 deletions
+8
View File
@@ -902,6 +902,14 @@ async def submit_gf3_process(
admin_user: AuthUserORM = Depends(_require_admin),
):
"""提交 GF3 L1A→L2 处理任务(辐射定标 + RPC 几何校正)。"""
if not settings.GF3_LEGACY_GDAL_ENABLED:
raise HTTPException(
status_code=409,
detail=(
"Legacy GF3 Python/GDAL preprocessing is disabled. "
"Use /monitor/gf3-sarscape-produce or /monitor/gf3-sarscape-sync."
),
)
if not os.path.exists(req.input_dir):
raise HTTPException(status_code=400, detail=f"输入路径不存在: {req.input_dir}")