chore: translate README to English and add format:tsfile tag
Browse files
README.md
CHANGED
|
@@ -15,6 +15,7 @@ tags:
|
|
| 15 |
- yield-prediction
|
| 16 |
- tsfile
|
| 17 |
- modality:timeseries
|
|
|
|
| 18 |
task_categories:
|
| 19 |
- tabular-regression
|
| 20 |
- time-series-forecasting
|
|
@@ -27,41 +28,31 @@ size_categories:
|
|
| 27 |
|
| 28 |
# Wofost Synthetic Rice Simulation LK (TsFile)
|
| 29 |
|
| 30 |
-
|
| 31 |
-
[`SanuthK/Wofost-Synthetic-Rice-Simulation-LK`](https://huggingface.co/datasets/SanuthK/Wofost-Synthetic-Rice-Simulation-LK)
|
| 32 |
-
转换为 [Apache TsFile](https://tsfile.apache.org/) 格式。
|
| 33 |
|
| 34 |
-
##
|
| 35 |
|
| 36 |
-
- `wofost_rice_lk.tsfile` —
|
| 37 |
|
| 38 |
-
## TsFile
|
| 39 |
|
| 40 |
-
- **TAG
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
- **Time**:由 `Date`(YYYY-MM-DD)解析为 INT64 毫秒。
|
| 44 |
-
- **FIELD**:`DVS` / `LAI` / `Biomass` / `Height_cm` / `Yield_kgha` / `NDVI` / `NDRE` /
|
| 45 |
-
`S1_VV_dB` / `S1_VH_dB` / `S1_ratio`(均为 DOUBLE)。`Yield_kgha` 在开花(DVS≥1)前为
|
| 46 |
-
NaN,保留为 null。
|
| 47 |
|
| 48 |
-
##
|
| 49 |
|
| 50 |
-
- **
|
| 51 |
-
- **`replicate`
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
- 转换路径:`script`(`scripts/converters/wofost_rice_lk.py`),时间精度 `ms`。
|
| 55 |
-
- 行数转换前后一致(578,394),已通过行数比对 + 读回校验,无去重、无丢行。
|
| 56 |
|
| 57 |
-
>
|
| 58 |
-
> NaN(出苗/开花前),parquet 用 RLE 把这些 NaN 游程压到近乎为零;TsFile 因按 device 切分
|
| 59 |
-
> (3,250 个 device × 10 列 ≈ 3.2 万个小 chunk)元数据开销较高、对 NaN 游程压缩较弱,故略大。
|
| 60 |
-
> 两者数据完全一致。
|
| 61 |
|
| 62 |
-
##
|
| 63 |
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
-
|
| 67 |
-
-
|
|
|
|
| 15 |
- yield-prediction
|
| 16 |
- tsfile
|
| 17 |
- modality:timeseries
|
| 18 |
+
- format:tsfile
|
| 19 |
task_categories:
|
| 20 |
- tabular-regression
|
| 21 |
- time-series-forecasting
|
|
|
|
| 28 |
|
| 29 |
# Wofost Synthetic Rice Simulation LK (TsFile)
|
| 30 |
|
| 31 |
+
A WOFOST 7.2 synthetic simulation dataset for paddy rice in Sri Lanka, converted to [Apache TsFile](https://tsfile.apache.org/) format from the Hugging Face dataset
|
| 32 |
+
[`SanuthK/Wofost-Synthetic-Rice-Simulation-LK`](https://huggingface.co/datasets/SanuthK/Wofost-Synthetic-Rice-Simulation-LK).
|
|
|
|
| 33 |
|
| 34 |
+
## Files
|
| 35 |
|
| 36 |
+
- `wofost_rice_lk.tsfile` — 578,394 daily records across 3,250 independent simulation series.
|
| 37 |
|
| 38 |
+
## TsFile table-model mapping
|
| 39 |
|
| 40 |
+
- **TAG (device)**: `Season` / `Year` / `Lat` / `Lon` / `Irrigation` / `Nitrogen` plus the synthesized `replicate` index. Each simulation = one device (3,250 devices in total). These 6 scenario columns are kept only as tags and are not duplicated as numeric fields.
|
| 41 |
+
- **Time**: parsed from `Date` (YYYY-MM-DD) into INT64 milliseconds.
|
| 42 |
+
- **FIELD**: `DVS` / `LAI` / `Biomass` / `Height_cm` / `Yield_kgha` / `NDVI` / `NDRE` / `S1_VV_dB` / `S1_VH_dB` / `S1_ratio` (all DOUBLE). `Yield_kgha` is NaN before flowering (DVS≥1) and is kept as null.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
## Conversion Notes
|
| 45 |
|
| 46 |
+
- **No source columns dropped**: all 17 columns are retained (Date→Time, 6 scenario→tag, 10 numeric→field).
|
| 47 |
+
- **`replicate` is a synthesized column**: the same scenario has multiple replicates (weather randomization), but the source data has no explicit replicate ID. Multiple replicates are concatenated sequentially and split at the points where Date resets, from which the replicate index is accumulated. Validation: after adding replicate, device count = 3,250 and `(device, Date)` is fully unique.
|
| 48 |
+
- Conversion path: `script` (`scripts/converters/wofost_rice_lk.py`), millisecond precision.
|
| 49 |
+
- Row count is identical before and after conversion (578,394), verified by row-count comparison + read-back validation; no dedup, no dropped rows.
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
> On size: the original parquet is ~16 MB and the converted tsfile is ~21 MB. About 51% of the source numeric cells are NaN (before emergence/flowering); parquet uses RLE to compress these NaN runs to nearly zero, while TsFile has higher metadata overhead from per-device chunking (3,250 devices × 10 columns ≈ 32k small chunks) and weaker NaN-run compression, hence slightly larger. The data is identical in both.
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
## Source
|
| 54 |
|
| 55 |
+
- Original dataset: [SanuthK/Wofost-Synthetic-Rice-Simulation-LK](https://huggingface.co/datasets/SanuthK/Wofost-Synthetic-Rice-Simulation-LK)
|
| 56 |
+
- Original author: Wanniarachchi S. K. (AgroGate Project)
|
| 57 |
+
- Model: PCSE / WOFOST 7.2; weather: NASA POWER
|
| 58 |
+
- License: CC-BY 4.0
|