Add TsFile (converted from SanuthK/Wofost-Synthetic-Rice-Simulation-LK)
Browse files
README.md
CHANGED
|
@@ -1,35 +1,60 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
-
|
| 30 |
-
|
| 31 |
-
##
|
| 32 |
-
|
| 33 |
-
```
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
tags:
|
| 6 |
+
- agriculture
|
| 7 |
+
- crop-simulation
|
| 8 |
+
- remote-sensing
|
| 9 |
+
- synthetic-data
|
| 10 |
+
- timeseries
|
| 11 |
+
- tsfile
|
| 12 |
+
- wofost
|
| 13 |
+
- rice
|
| 14 |
+
- sri-lanka
|
| 15 |
+
task_categories:
|
| 16 |
+
- time-series-forecasting
|
| 17 |
+
- tabular-regression
|
| 18 |
+
pretty_name: Sri Lanka Paddy Rice WOFOST Simulation (TsFile)
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Wofost Synthetic Rice Simulation LK (TsFile)
|
| 22 |
+
|
| 23 |
+
斯里兰卡水稻 WOFOST 7.2 合成模拟数据集,从 HuggingFace 数据集
|
| 24 |
+
[`SanuthK/Wofost-Synthetic-Rice-Simulation-LK`](https://huggingface.co/datasets/SanuthK/Wofost-Synthetic-Rice-Simulation-LK)
|
| 25 |
+
转换为 [Apache TsFile](https://tsfile.apache.org/) 格式。
|
| 26 |
+
|
| 27 |
+
## 文件
|
| 28 |
+
|
| 29 |
+
- `wofost_rice_lk.tsfile` —— 578,394 条日records,3,250 条独立模拟序列。
|
| 30 |
+
|
| 31 |
+
## TsFile 表模型映射
|
| 32 |
+
|
| 33 |
+
- **TAG(device)**:`Season` / `Year` / `Lat` / `Lon` / `Irrigation` / `Nitrogen` +
|
| 34 |
+
合成的 `replicate` 序号。每条 simulation = 一个 device(共 3,250 个)。这 6 个 scenario
|
| 35 |
+
列仅作 tag,不重复存为数值 field。
|
| 36 |
+
- **Time**:由 `Date`(YYYY-MM-DD)解析为 INT64 毫秒。
|
| 37 |
+
- **FIELD**:`DVS` / `LAI` / `Biomass` / `Height_cm` / `Yield_kgha` / `NDVI` / `NDRE` /
|
| 38 |
+
`S1_VV_dB` / `S1_VH_dB` / `S1_ratio`(均为 DOUBLE)。`Yield_kgha` 在开花(DVS≥1)前为
|
| 39 |
+
NaN,保留为 null。
|
| 40 |
+
|
| 41 |
+
## 转换说明
|
| 42 |
+
|
| 43 |
+
- **未丢弃任何源列**:17 列全部保留(Date→Time,6 个 scenario→tag,10 个数值→field)。
|
| 44 |
+
- **`replicate` 为合成列**:同一 scenario 有多个 replicate(天气随机化),但原数据无显式
|
| 45 |
+
replicate ID。多个 replicate 顺序拼接,在 Date 回退处分界,据此累计出 replicate 序号。
|
| 46 |
+
验证:加上 replicate 后 device 数 = 3,250,`(device, Date)` 完全唯一。
|
| 47 |
+
- 转换路径:`script`(`scripts/converters/wofost_rice_lk.py`),时间精度 `ms`。
|
| 48 |
+
- 行数转换前后一致(578,394),已通过行数比对 + 读回校验,无去重、无丢行。
|
| 49 |
+
|
| 50 |
+
> 关于体积:原始 parquet 约 16 MB,转换后 tsfile 约 21 MB。源数据约 51% 的数值单元为
|
| 51 |
+
> NaN(出苗/开花前),parquet 用 RLE 把这些 NaN 游程压到近乎为零;TsFile 因按 device 切分
|
| 52 |
+
> (3,250 个 device × 10 列 ≈ 3.2 万个小 chunk)元数据开销较高、对 NaN 游程压缩较弱,故略大。
|
| 53 |
+
> 两者数据完全一致。
|
| 54 |
+
|
| 55 |
+
## 来源
|
| 56 |
+
|
| 57 |
+
- 原始数据集:[SanuthK/Wofost-Synthetic-Rice-Simulation-LK](https://huggingface.co/datasets/SanuthK/Wofost-Synthetic-Rice-Simulation-LK)
|
| 58 |
+
- 原作者:Wanniarachchi S. K.(AgroGate Project)
|
| 59 |
+
- 模型:PCSE / WOFOST 7.2;天气:NASA POWER
|
| 60 |
+
- 许可证:CC-BY 4.0
|