Copy entsoe from smilegeng/fev_datasets
Browse files- .gitattributes +3 -0
- 15T/15T_1.tsfile +3 -0
- 15T/15T_2.tsfile +0 -0
- 1H/1H.tsfile +3 -0
- 30T/30T.tsfile +3 -0
- README.md +66 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
15T/15T_1.tsfile filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
1H/1H.tsfile filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
30T/30T.tsfile filter=lfs diff=lfs merge=lfs -text
|
15T/15T_1.tsfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b7af142e6bad0e7d610d113041d02b6d77cbdf02a7671e8630a6bc17cd6ef5e
|
| 3 |
+
size 9458379
|
15T/15T_2.tsfile
ADDED
|
Binary file (33.4 kB). View file
|
|
|
1H/1H.tsfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a703925ecc6c84dd79a395be4feeced37cf86402283e6999f465eea29d7030d2
|
| 3 |
+
size 4245063
|
30T/30T.tsfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:906d13b16cb2783b0775319a429345cf8443b4126263718dc6275d04d9931d23
|
| 3 |
+
size 6047210
|
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
tags:
|
| 6 |
+
- time-series
|
| 7 |
+
- tsfile
|
| 8 |
+
pretty_name: entsoe (TsFile format)
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# entsoe — TsFile 格式
|
| 12 |
+
|
| 13 |
+
本目录是 [`autogluon/fev_datasets`](https://huggingface.co/datasets/autogluon/fev_datasets) 中 **entsoe** 子集转换为 [Apache TsFile](https://tsfile.apache.org/) 格式的版本。
|
| 14 |
+
|
| 15 |
+
## 来源与引用
|
| 16 |
+
|
| 17 |
+
- **原始来源**:https://data.open-power-system-data.org/time_series/2020-10-06
|
| 18 |
+
- **论文/引用**:[[6]](https://doi.org/10.25832/time_series/2020-10-06)
|
| 19 |
+
- **统一格式合集**:[autogluon/fev_datasets](https://huggingface.co/datasets/autogluon/fev_datasets)
|
| 20 |
+
|
| 21 |
+
> 本数据由外部来源转换为统一格式后再转为 TsFile。许可与引用以**原始来源**为准,我们不对原始数据主张任何权利。除非另有说明,数据仅供研究用途。
|
| 22 |
+
|
| 23 |
+
## 数据统计
|
| 24 |
+
|
| 25 |
+
| 频率 | 序列数 | 中位长度 | 观测点数 | 动态列 | 静态列 | 文件 |
|
| 26 |
+
|---|---|---|---|---|---|---|
|
| 27 |
+
| 15T | 6 | 175,292 | 6,310,512 | 6 | 0 | `15T/15T_1..15T_2.tsfile`(2 片) |
|
| 28 |
+
| 1H | 6 | 43,822 | 1,577,592 | 6 | 0 | `1H/1H.tsfile` |
|
| 29 |
+
| 30T | 6 | 87,645 | 3,155,220 | 6 | 0 | `30T/30T.tsfile` |
|
| 30 |
+
|
| 31 |
+
## TsFile 存储模型
|
| 32 |
+
|
| 33 |
+
- 每条原始序列(`id`)→ 一个 **device**(TAG 维度)。
|
| 34 |
+
- 随时间变化的 target / 动态协变量 → **measurement**(FIELD)。
|
| 35 |
+
- `timestamp` → `Time`(INT64 毫秒)。
|
| 36 |
+
- 表名:entsoe_15T, entsoe_1H, entsoe_30T。
|
| 37 |
+
|
| 38 |
+
### 列含义
|
| 39 |
+
|
| 40 |
+
| 列 | 角色 | TsFile 类型 |
|
| 41 |
+
|---|---|---|
|
| 42 |
+
| `Time` | Time(时间列) | INT64 |
|
| 43 |
+
| `id` | TAG(device 维度) | STRING |
|
| 44 |
+
| `target` | FIELD(measurement) | FLOAT |
|
| 45 |
+
| `solar_generation_actual` | FIELD(measurement) | FLOAT |
|
| 46 |
+
| `wind_onshore_generation_actual` | FIELD(measurement) | FLOAT |
|
| 47 |
+
| `temperature` | FIELD(measurement) | FLOAT |
|
| 48 |
+
| `radiation_direct_horizontal` | FIELD(measurement) | FLOAT |
|
| 49 |
+
| `radiation_diffuse_horizontal` | FIELD(measurement) | FLOAT |
|
| 50 |
+
|
| 51 |
+
## 转换说明
|
| 52 |
+
|
| 53 |
+
- 每行原始数据是一整条序列 `(id, timestamp[], 各 target[])`,纵向打平为长表后写入 TsFile。
|
| 54 |
+
- 数值类型按源列自适应:float32→FLOAT、float64→DOUBLE、整数→INT64、bool→BOOLEAN。
|
| 55 |
+
- 时间精度:毫秒(INT64)。
|
| 56 |
+
- 大表会被工具自动分片为 `<名>_1.tsfile`、`<名>_2.tsfile` …,同属一个逻辑表。
|
| 57 |
+
|
| 58 |
+
## 读取示例
|
| 59 |
+
|
| 60 |
+
```python
|
| 61 |
+
from tsfile import TsFileReader
|
| 62 |
+
|
| 63 |
+
reader = TsFileReader("15T/15T.tsfile")
|
| 64 |
+
schemas = reader.get_all_table_schemas()
|
| 65 |
+
# 表名:entsoe_15T;列见下方"列含义"。
|
| 66 |
+
```
|