feat: add hourly peak correction for DEB charts

This commit is contained in:
2569718930@qq.com
2026-05-27 22:41:16 +08:00
parent 14141314d7
commit 1a7d2a487f
8 changed files with 614 additions and 9 deletions
+12
View File
@@ -204,6 +204,16 @@ export interface ForecastData {
sunshine_hours?: number | null;
}
export interface DebHourlyPath {
source?: string | null;
version?: string | null;
times?: string[];
temps?: Array<number | null>;
base_source?: string | null;
base_offset?: number | null;
correction?: Record<string, unknown> | null;
}
export interface DebForecast {
prediction: number | null;
raw_prediction?: number | null;
@@ -212,6 +222,8 @@ export interface DebForecast {
bias_adjustment?: number | null;
bias_samples?: number | null;
intraday_adjustment?: number | null;
hourly_path?: DebHourlyPath | null;
hourly_correction?: Record<string, unknown> | null;
}
export interface CitySummary {