Add TsFile (converted from harshithvaranasi/floodstack_train)
Browse files
README.md
CHANGED
|
@@ -2,8 +2,9 @@
|
|
| 2 |
tags:
|
| 3 |
- tsfile
|
| 4 |
- timeseries
|
| 5 |
-
- format:tsfile
|
| 6 |
- time-series
|
|
|
|
|
|
|
| 7 |
configs:
|
| 8 |
- config_name: default
|
| 9 |
data_files:
|
|
@@ -13,20 +14,35 @@ configs:
|
|
| 13 |
path: floodstack_train_g1.tsfile
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# floodstack_train
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
##
|
| 21 |
|
| 22 |
-
- **
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
##
|
| 25 |
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
## Usage
|
| 32 |
|
|
@@ -66,4 +82,9 @@ try (TsFileSequenceReader sequenceReader = new TsFileSequenceReader(path);
|
|
| 66 |
}
|
| 67 |
}
|
| 68 |
}
|
| 69 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- tsfile
|
| 4 |
- timeseries
|
|
|
|
| 5 |
- time-series
|
| 6 |
+
- format:tsfile
|
| 7 |
+
pretty_name: floodstack_train (TsFile)
|
| 8 |
configs:
|
| 9 |
- config_name: default
|
| 10 |
data_files:
|
|
|
|
| 14 |
path: floodstack_train_g1.tsfile
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# floodstack_train (TsFile)
|
| 18 |
+
|
| 19 |
+
Apache TsFile version of [`harshithvaranasi/floodstack_train`](https://huggingface.co/datasets/harshithvaranasi/floodstack_train).
|
| 20 |
+
|
| 21 |
+
## Overview
|
| 22 |
+
|
| 23 |
+
- **Tables:** 2 TsFile table(s), 255,650 rows in total.
|
| 24 |
+
- `floodstack_train_g0`: 36,500 rows, 2022-01-01 00:00:00 鈫?2023-12-31 00:00:00.049000 (UTC)
|
| 25 |
+
- `floodstack_train_g1`: 219,150 rows, 2010-01-01 00:00:00 鈫?2021-12-31 00:00:00.049000 (UTC)
|
| 26 |
|
| 27 |
+
## Schema (TsFile structure)
|
| 28 |
|
| 29 |
+
### `floodstack_train_g0.tsfile`
|
| 30 |
|
| 31 |
+
- **Time** (INT64, milliseconds) 鈥?the source `date` column.
|
| 32 |
+
- **TAG**: none 鈥?the table is stored as a single device.
|
| 33 |
+
- **FIELD** (9): `station_id` (int64), `precipitation_mm` (double), `temp_max_c` (double), `temp_min_c` (double), `soil_moisture` (double), `drainage_area_sqmi` (double), `mean_elevation_ft` (double), `slope_pct` (double), `forest_cover_pct` (double)
|
| 34 |
|
| 35 |
+
### `floodstack_train_g1.tsfile`
|
| 36 |
|
| 37 |
+
- **Time** (INT64, milliseconds) 鈥?the source `date` column.
|
| 38 |
+
- **TAG**: none 鈥?the table is stored as a single device.
|
| 39 |
+
- **FIELD** (10): `station_id` (int64), `precipitation_mm` (double), `temp_max_c` (double), `temp_min_c` (double), `soil_moisture` (double), `drainage_area_sqmi` (double), `mean_elevation_ft` (double), `slope_pct` (double), `forest_cover_pct` (double), `discharge_cfs` (double)
|
| 40 |
+
|
| 41 |
+
## Conversion notes
|
| 42 |
+
|
| 43 |
+
- One TsFile per source table (2 tables). Tables whose source carries several entities per file are stored as one device per entity.
|
| 44 |
+
- Time = the table's own clock column as INT64 milliseconds. The clock columns used here are `date`.
|
| 45 |
+
- No column is dropped. Rows that share a timestamp inside one device are ordered by a 1 ms step in stable source order, so calendar columns keep their exact day.
|
| 46 |
|
| 47 |
## Usage
|
| 48 |
|
|
|
|
| 82 |
}
|
| 83 |
}
|
| 84 |
}
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## Source & license
|
| 88 |
+
|
| 89 |
+
- Original dataset: [`harshithvaranasi/floodstack_train`](https://huggingface.co/datasets/harshithvaranasi/floodstack_train)
|
| 90 |
+
- License: not declared (as declared by the original dataset).
|