Discuss: Store price data

已关闭
#182 14 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go

调研方向

首先检查观测值的存储方式,以及如何为 NL Consumer 和 Forecast 运行收集 DA 价格数据。定义价格 schema,并决定它是否属于 observation model,然后添加写入和读取路径。完成标准是:价格数据只收集一次,并且可以针对提议的 location、timestamp、value 和 market 字段进行存储和检索。

由索引模型根据 Issue 内容生成。

描述

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

Store price data in the data-platform

What is the motivation for the feature?

We currently collect DA price data from Entsoe everytime the NL Consumer and Forecast runs. This seems slightly over kill, and we should only collect this one.

Its possible to believe that we might need to store more of this data in the future

Outline a potential approach or solution (optional).
  • New schema called prices
  • one table thats stores the prices, columns could be, location_uuid, timestamp_utc, value, market (note market could be in a separate table to save space rather than reparting 'NL_DA')
  • write function
  • read function

Note it is quite similar to an observation (just not MW, its £/MW), so it might be possible to squeeze it into there

主要语言
Go
星标
3
派生
1
平均合并
1 小时 59 分钟
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openclimatefix/data-platform 的其他 Issue

查看 openclimatefix/data-platform 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。