Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add warning and alert times to obeservers and forecasters

Đang mở
#218 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
api, backend, database

Hướng nghiên cứu

Start by reading the observer and forecaster table definitions and their existing routes for retrieving and updating those records. Trace how the API returns these records, then determine how the proposed delay fields fit that flow. Done means both fields can be stored, updated, and returned for observers and forecasters; the issue leaves their default values undecided.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Verification
  • I have searched the existing issues to ensure this feature has not already been requested.
Provide a detailed description of the proposed feature.

It would be great to have alert and warning times on the observes and the forecasters,

This can be then be used to created warnings or alerts in various places.

What is the motivation for the feature?

More countries, it starts to get confusing what is going on https://github.com/openclimatefix/analysis-dashboard/pull/476

Outline a potential approach or solution (optional).

Add

  • warning_delay_hours
  • alert_delay_hours

Perhaps they can be default to None, so things dont break, or we deciced on some default values

To observer and forecaster tables.
Would need a route to update the observer and/or forecaster and get these values back when getting an observer or forecaster

Ngôn ngữ chính
Go
Star
3
Fork
1
Merge trung bình
1 giờ 59 phút
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openclimatefix/data-platform

Tất cả issue của openclimatefix/data-platform

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.