- MIN_TRAJ_POINTS 100→20 (16척→684척, 파이프라인 병목 해소) - risk.py: SOG 급변 count를 위험도 점수에 반영 (+5/+10) - spoofing.py: BD09 오프셋 중국 MMSI(412*) 예외 (좌표계 노이즈 제거) - fishing_pattern.py: 마지막 조업 세그먼트 누락 버그 수정 - VesselAnalysisService: 인메모리 캐시 + 증분 갱신 (warmup 2h → incremental) - nginx: /api/gtts 프록시 추가 (Google TTS CORS 우회) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27 lines
659 B
Python
27 lines
659 B
Python
SOG_STATIONARY_MAX = 1.0
|
|
SOG_FISHING_MAX = 5.0
|
|
SOG_SAILING_MIN = 5.0
|
|
|
|
VESSEL_SOG_PROFILE = {
|
|
'TRAWL': {'min': 1.5, 'max': 4.5, 'mean': 2.8, 'cog_var': 'high'},
|
|
'PURSE': {'min': 2.0, 'max': 5.0, 'mean': 3.5, 'cog_var': 'circular'},
|
|
'LONGLINE': {'min': 0.5, 'max': 3.0, 'mean': 1.8, 'cog_var': 'low'},
|
|
'TRAP': {'min': 0.0, 'max': 2.0, 'mean': 0.8, 'cog_var': 'very_low'},
|
|
}
|
|
|
|
RESAMPLE_INTERVAL_MIN = 4
|
|
|
|
BIRCH_THRESHOLD = 0.35
|
|
BIRCH_BRANCHING = 50
|
|
MIN_CLUSTER_SIZE = 5
|
|
|
|
MMSI_DIGITS = 9
|
|
MAX_VESSEL_LENGTH = 300
|
|
MAX_SOG_KNOTS = 30.0
|
|
MIN_TRAJ_POINTS = 20
|
|
|
|
KR_BOUNDS = {
|
|
'lat_min': 32.0, 'lat_max': 39.0,
|
|
'lon_min': 124.0, 'lon_max': 132.0,
|
|
}
|