Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: UnexpectedError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
sample_id string | month string | target_month string | actual_proxy_score float64 | risk_direction string | risk_severity string | predicted_proxy_score float64 | model string | split string |
|---|---|---|---|---|---|---|---|---|
sagil_1 | 2025-05-01 | 2025-06-01 | -0.206594 | drought | low | -0.109543 | transformer | test |
sagil_1 | 2025-06-01 | 2025-07-01 | -0.324576 | drought | moderate | -0.095876 | transformer | test |
sagil_1 | 2025-07-01 | 2025-08-01 | -0.091162 | drought | high | -0.073495 | transformer | test |
sagil_1 | 2025-08-01 | 2025-09-01 | -0.069916 | drought | low | 0.093264 | transformer | test |
sagil_1 | 2025-09-01 | 2025-10-01 | -0.15671 | drought | low | 0.031559 | transformer | test |
sagil_1 | 2025-10-01 | 2025-11-01 | 0.371926 | drought | low | 0.132579 | transformer | test |
sagil_1 | 2025-11-01 | 2025-12-01 | 0.119439 | flood | high | 0.304532 | transformer | test |
sagil_1 | 2025-12-01 | 2026-01-01 | -0.239957 | flood | low | 0.036194 | transformer | test |
sagil_1 | 2026-01-01 | 2026-02-01 | -0.371511 | drought | moderate | -0.047362 | transformer | test |
sagil_1 | 2026-02-01 | 2026-03-01 | -0.419134 | drought | high | -0.141566 | transformer | test |
sagil_1 | 2026-03-01 | 2026-04-01 | -0.057136 | drought | high | -0.065491 | transformer | test |
sagil_1 | 2026-04-01 | 2026-05-01 | 0.079769 | drought | low | -0.09767 | transformer | test |
sagil_10 | 2025-05-01 | 2025-06-01 | -0.119981 | flood | moderate | -0.089097 | transformer | test |
sagil_10 | 2025-06-01 | 2025-07-01 | -0.346603 | drought | low | -0.031152 | transformer | test |
sagil_10 | 2025-07-01 | 2025-08-01 | -0.056757 | drought | high | -0.01252 | transformer | test |
sagil_10 | 2025-08-01 | 2025-09-01 | -0.053693 | drought | low | 0.107013 | transformer | test |
sagil_10 | 2025-09-01 | 2025-10-01 | -0.092635 | drought | low | 0.04765 | transformer | test |
sagil_10 | 2025-10-01 | 2025-11-01 | 0.930634 | drought | low | 0.134893 | transformer | test |
sagil_10 | 2025-11-01 | 2025-12-01 | 0.112408 | flood | extreme | -0.251121 | transformer | test |
sagil_10 | 2025-12-01 | 2026-01-01 | -0.172812 | flood | low | -0.012665 | transformer | test |
sagil_10 | 2026-01-01 | 2026-02-01 | -0.39927 | drought | low | -0.057352 | transformer | test |
sagil_10 | 2026-02-01 | 2026-03-01 | -0.50821 | drought | high | 0.437469 | transformer | test |
sagil_10 | 2026-03-01 | 2026-04-01 | -0.076007 | drought | high | -0.098507 | transformer | test |
sagil_10 | 2026-04-01 | 2026-05-01 | 0.070499 | drought | low | -0.017268 | transformer | test |
sagil_11 | 2025-05-01 | 2025-06-01 | -0.142999 | drought | moderate | -0.109299 | transformer | test |
sagil_11 | 2025-06-01 | 2025-07-01 | -0.334722 | drought | low | -0.052184 | transformer | test |
sagil_11 | 2025-07-01 | 2025-08-01 | -0.081283 | drought | high | -0.060243 | transformer | test |
sagil_11 | 2025-08-01 | 2025-09-01 | -0.036977 | drought | low | 0.058868 | transformer | test |
sagil_11 | 2025-09-01 | 2025-10-01 | -0.0978 | drought | low | 0.033 | transformer | test |
sagil_11 | 2025-10-01 | 2025-11-01 | 0.254773 | drought | low | 0.109127 | transformer | test |
sagil_11 | 2025-11-01 | 2025-12-01 | 0.107511 | flood | moderate | 0.255902 | transformer | test |
sagil_11 | 2025-12-01 | 2026-01-01 | -0.153491 | flood | low | 0.044207 | transformer | test |
sagil_11 | 2026-01-01 | 2026-02-01 | -0.364846 | drought | low | -0.03142 | transformer | test |
sagil_11 | 2026-02-01 | 2026-03-01 | -0.523612 | drought | high | -0.066206 | transformer | test |
sagil_11 | 2026-03-01 | 2026-04-01 | -0.070006 | drought | high | 0.121045 | transformer | test |
sagil_11 | 2026-04-01 | 2026-05-01 | 0.058056 | drought | low | -0.168261 | transformer | test |
sagil_12 | 2025-05-01 | 2025-06-01 | -0.136504 | flood | low | -0.128699 | transformer | test |
sagil_12 | 2025-06-01 | 2025-07-01 | -0.325095 | drought | low | -0.003086 | transformer | test |
sagil_12 | 2025-07-01 | 2025-08-01 | -0.119085 | drought | high | 0.020429 | transformer | test |
sagil_12 | 2025-08-01 | 2025-09-01 | -0.03051 | drought | low | 0.044329 | transformer | test |
sagil_12 | 2025-09-01 | 2025-10-01 | -0.093346 | drought | low | 0.14542 | transformer | test |
sagil_12 | 2025-10-01 | 2025-11-01 | 0.220395 | drought | low | 0.058475 | transformer | test |
sagil_12 | 2025-11-01 | 2025-12-01 | 0.15252 | flood | moderate | 0.027809 | transformer | test |
sagil_12 | 2025-12-01 | 2026-01-01 | -0.214477 | flood | low | -0.068969 | transformer | test |
sagil_12 | 2026-01-01 | 2026-02-01 | -0.36168 | drought | moderate | -0.096187 | transformer | test |
sagil_12 | 2026-02-01 | 2026-03-01 | -0.347513 | drought | high | 0.110536 | transformer | test |
sagil_12 | 2026-03-01 | 2026-04-01 | 0.129321 | drought | high | 0.006149 | transformer | test |
sagil_12 | 2026-04-01 | 2026-05-01 | 0.07573 | flood | low | -0.118996 | transformer | test |
sagil_13 | 2025-05-01 | 2025-06-01 | -0.205046 | drought | low | -0.137136 | transformer | test |
sagil_13 | 2025-06-01 | 2025-07-01 | -0.316278 | drought | moderate | -0.059521 | transformer | test |
sagil_13 | 2025-07-01 | 2025-08-01 | -0.154286 | drought | high | -0.04974 | transformer | test |
sagil_13 | 2025-08-01 | 2025-09-01 | -0.032186 | drought | low | -0.204193 | transformer | test |
sagil_13 | 2025-09-01 | 2025-10-01 | -0.110247 | drought | low | -0.00092 | transformer | test |
sagil_13 | 2025-10-01 | 2025-11-01 | -0.203013 | drought | low | -0.039851 | transformer | test |
sagil_13 | 2025-11-01 | 2025-12-01 | 0.288604 | drought | moderate | -0.138596 | transformer | test |
sagil_13 | 2025-12-01 | 2026-01-01 | -0.291371 | flood | moderate | -0.227132 | transformer | test |
sagil_13 | 2026-01-01 | 2026-02-01 | -0.440524 | drought | moderate | -0.191157 | transformer | test |
sagil_13 | 2026-02-01 | 2026-03-01 | -0.300812 | drought | high | 0.014017 | transformer | test |
sagil_13 | 2026-03-01 | 2026-04-01 | -0.105582 | drought | high | -0.059897 | transformer | test |
sagil_13 | 2026-04-01 | 2026-05-01 | 0.10454 | drought | low | -0.58867 | transformer | test |
sagil_14 | 2025-05-01 | 2025-06-01 | -0.30523 | drought | low | -0.078619 | transformer | test |
sagil_14 | 2025-06-01 | 2025-07-01 | -0.529867 | drought | high | -0.016715 | transformer | test |
sagil_14 | 2025-07-01 | 2025-08-01 | -0.125989 | drought | high | -0.075155 | transformer | test |
sagil_14 | 2025-08-01 | 2025-09-01 | -0.079793 | drought | low | 0.08854 | transformer | test |
sagil_14 | 2025-09-01 | 2025-10-01 | -0.14397 | drought | low | 0.01696 | transformer | test |
sagil_14 | 2025-10-01 | 2025-11-01 | 0.298371 | drought | low | 0.059189 | transformer | test |
sagil_14 | 2025-11-01 | 2025-12-01 | 0.2525 | flood | moderate | -0.09341 | transformer | test |
sagil_14 | 2025-12-01 | 2026-01-01 | -0.340927 | flood | moderate | -0.105093 | transformer | test |
sagil_14 | 2026-01-01 | 2026-02-01 | -0.598432 | drought | high | -0.053613 | transformer | test |
sagil_14 | 2026-02-01 | 2026-03-01 | -0.361373 | drought | extreme | -0.026135 | transformer | test |
sagil_14 | 2026-03-01 | 2026-04-01 | -0.231635 | drought | high | -0.172853 | transformer | test |
sagil_14 | 2026-04-01 | 2026-05-01 | -0.156069 | drought | moderate | -0.242568 | transformer | test |
sagil_15 | 2025-05-01 | 2025-06-01 | -0.365997 | drought | high | 0.266849 | transformer | test |
sagil_15 | 2025-06-01 | 2025-07-01 | 0.492668 | drought | high | 0.074193 | transformer | test |
sagil_15 | 2025-07-01 | 2025-08-01 | 0.121797 | flood | high | 0.318738 | transformer | test |
sagil_15 | 2025-08-01 | 2025-09-01 | 0.35048 | flood | low | 0.029717 | transformer | test |
sagil_15 | 2025-09-01 | 2025-10-01 | 0.046315 | flood | high | 0.022535 | transformer | test |
sagil_15 | 2025-10-01 | 2025-11-01 | 0.3156 | flood | low | -0.216549 | transformer | test |
sagil_15 | 2025-11-01 | 2025-12-01 | 0.226425 | flood | high | -0.096368 | transformer | test |
sagil_15 | 2025-12-01 | 2026-01-01 | 0.277875 | flood | moderate | 0.190928 | transformer | test |
sagil_15 | 2026-01-01 | 2026-02-01 | -0.191157 | flood | moderate | -0.16988 | transformer | test |
sagil_15 | 2026-02-01 | 2026-03-01 | 0.330049 | drought | moderate | -0.099511 | transformer | test |
sagil_15 | 2026-03-01 | 2026-04-01 | -0.405731 | flood | high | 0.27132 | transformer | test |
sagil_15 | 2026-04-01 | 2026-05-01 | 0.109532 | drought | high | 0.230104 | transformer | test |
sagil_16 | 2025-05-01 | 2025-06-01 | -0.098245 | flood | moderate | -0.03108 | transformer | test |
sagil_16 | 2025-06-01 | 2025-07-01 | -0.080168 | drought | low | 0.017357 | transformer | test |
sagil_16 | 2025-07-01 | 2025-08-01 | -0.060487 | drought | low | 0.0375 | transformer | test |
sagil_16 | 2025-08-01 | 2025-09-01 | 0.046158 | drought | low | 0.10156 | transformer | test |
sagil_16 | 2025-09-01 | 2025-10-01 | 0.041189 | flood | low | 0.026817 | transformer | test |
sagil_16 | 2025-10-01 | 2025-11-01 | 0.12885 | flood | low | -0.018541 | transformer | test |
sagil_16 | 2025-11-01 | 2025-12-01 | 0.083077 | flood | low | 0.02482 | transformer | test |
sagil_16 | 2025-12-01 | 2026-01-01 | -0.295682 | flood | low | -0.082542 | transformer | test |
sagil_16 | 2026-01-01 | 2026-02-01 | -0.116511 | drought | moderate | -0.087186 | transformer | test |
sagil_16 | 2026-02-01 | 2026-03-01 | -0.420595 | drought | low | -0.025149 | transformer | test |
sagil_16 | 2026-03-01 | 2026-04-01 | 0.124147 | drought | high | -0.059795 | transformer | test |
sagil_16 | 2026-04-01 | 2026-05-01 | 0.111319 | flood | low | -0.049364 | transformer | test |
sagil_17 | 2025-05-01 | 2025-06-01 | -0.134072 | drought | high | -0.193008 | transformer | test |
sagil_17 | 2025-06-01 | 2025-07-01 | -0.10746 | drought | low | -0.045014 | transformer | test |
sagil_17 | 2025-07-01 | 2025-08-01 | -0.111164 | drought | low | -0.014513 | transformer | test |
sagil_17 | 2025-08-01 | 2025-09-01 | -0.03418 | drought | low | -0.014765 | transformer | test |
Sagil Monthly GEE Environmental Risk Dataset
This dataset contains monthly Google Earth Engine environmental observations and deterministic time-series features for agricultural grid cells in Sagil, Tangkak, Johor, Malaysia.
It supports a prototype task:
monthly environmental features at month t
-> one-month-ahead signed flood/drought proxy-risk score at month t+1
The learned score used by the project is an environmental anomaly and directional risk proxy. It is not a verified flood event label, crop-loss label, or calibrated flood/drought probability.
Dataset Summary
- Study area: Sagil, Tangkak, Johor, Malaysia
- Spatial unit: 1 km x 1 km grid-cell centroid
- Current valid grid cells: 49
- Monthly period: 2021-01-01 through 2026-06-01
- Months per valid grid cell: 66
- Processed rows: 3,234
- Data type: tabular monthly spatiotemporal environmental data
- Primary file for modeling:
processed/processed_data.csv
Repository Structure
input/
coordinates.csv
metadata/
sample_index.csv
extraction_manifest.json
raw/
monthly/
sagil_1.csv
sagil_2.csv
...
processed/
processed_data.csv
File Descriptions
input/coordinates.csv
Manual coordinate source for the Sagil grid cells.
Important columns:
sample_id
grid_row
grid_col
latitude
longitude
study_area
cell_size_m
Each row represents the centroid of a 1 km x 1 km grid cell. grid_row = 0 is the northernmost row and grid_col = 0 is the westernmost column.
metadata/sample_index.csv
Extraction lookup table for raw monthly files.
Important columns:
sample_id
grid_row
grid_col
latitude
longitude
cell_area_m2
first_month
last_month
row_count
raw_csv
extraction_status
Use rows with extraction_status = ok for modeling.
metadata/extraction_manifest.json
Extraction run metadata, including:
extraction timestamp
study area
first and last month
month count
source datasets
thresholds
failed samples
raw/monthly/<sample_id>.csv
One raw monthly observation file per valid grid cell. Each file contains 66 monthly rows.
Raw observation groups include:
- Identifiers:
sample_id,grid_row,grid_col,latitude,longitude,month - Sentinel-2 optical indices:
ndvi_mean,evi_mean,ndmi_mean,ndwi_mean - Sentinel-2 quality:
s2_image_count,s2_valid_pixel_fraction - Sentinel-1 SAR:
vv_mean_db,vh_mean_db,vv_minus_vh_db,vv_vh_ratio_linear,s1_image_count - CHIRPS rainfall:
rainfall_total_mm,rainfall_mean_daily_mm,rainfall_max_1day_mm,dry_days_count,heavy_rain_days_count - ERA5-Land climate and water variables:
temperature_2m_mean_c,relative_humidity_mean_pct,soil_water_layer1_mean,surface_runoff_total_m,evaporation_total_m - Dynamic World probabilities:
water_probability_mean,flooded_vegetation_probability_mean,built_probability_mean,dynamicworld_image_count - Terrain and historical extent:
elevation_mean_m,elevation_min_m,elevation_max_m,slope_mean_deg,lowland_fraction,max_water_extent_fraction - Missingness flags:
optical_missing_flag,sar_missing_flag,climate_missing_flag,any_missing_flag
processed/processed_data.csv
Combined model-ready deterministic feature table.
It contains:
- all raw monthly observation columns
- calendar features:
year,month_number,month_sin,month_cos - lag features for selected hydrology, vegetation, SAR, and water variables
- rolling mean and rolling sum features
- month-to-month difference features
It intentionally does not contain:
- learned anomaly scores
- learned risk scores
- one-month-ahead target columns
- model predictions
Those values are generated in the modeling pipeline so that training-only preprocessing and target construction remain leakage-controlled.
Source Datasets
The dataset is derived through Google Earth Engine using:
- Sentinel-2 Surface Reflectance Harmonized
- Sentinel-1 GRD
- CHIRPS Daily Rainfall
- ERA5-Land Daily Aggregates
- Dynamic World V1
- SRTM elevation
- JRC Global Surface Water maximum extent
Please consult the original providers' terms for downstream use and redistribution requirements.
Intended Use
This dataset is intended for:
- academic machine learning experiments
- environmental time-series forecasting prototypes
- flood/drought proxy-risk modeling
- remote-sensing feature engineering demonstrations
- chronological train/test/holdout evaluation
The matching project code constructs a learned signed risk proxy and trains:
- persistence baseline
- Ridge regression
- Random Forest regressor
- LSTM sequence model
- Transformer encoder sequence model
Not Intended For
This dataset should not be used as:
- an official flood warning dataset
- a calibrated disaster-probability dataset
- verified crop-loss or damage labels
- a substitute for field survey, hydrological model output, river gauge data, or official disaster records
Risk Proxy Method
The project builds the target outside processed_data.csv.
For each grid cell i and month t, selected environmental variables form:
x_i,t
Training-fitted preprocessing:
z_i,t = StandardScaler(MedianImputer(x_i,t))
Anomaly magnitude:
anomaly_magnitude = mean((z_i,t - MLP_reconstruct(z_i,t))^2)
Flood/drought direction is estimated from standardized environmental indicators:
flood_direction_score = average of positive wetness and flood indicators
drought_direction_score = average of dry and vegetation-stress indicators
Signed proxy score:
signed_risk_score = anomaly_magnitude * direction_sign
where:
direction_sign = +1 for flood-directed anomaly
direction_sign = -1 for drought-directed anomaly
direction_sign = 0 for neutral or ambiguous anomaly
Forecasting target:
target_risk_score_t_plus_1 = signed_risk_score at month t+1
Temporal Split Used In The Project
The project code uses target-month splitting:
train: target_month <= 2025-05-01
test: 2025-06-01 <= target_month <= 2026-05-01
holdout: target_month == 2026-06-01
The June 2026 source row has no July 2026 target and is excluded from supervised evaluation.
Loading Example
from huggingface_hub import snapshot_download
import pandas as pd
local_dir = snapshot_download(
repo_id="Aki298/AML-Johor-Tangkak-Sagil-GEE-dataset",
repo_type="dataset",
local_dir="data",
)
processed = pd.read_csv("data/processed/processed_data.csv")
coordinates = pd.read_csv("data/input/coordinates.csv")
Limitations
- The target risk score is self-supervised and proxy-based, not field-verified.
- The current release covers one agricultural study area in Sagil, Johor.
- The effective independent sample size is smaller than the row count because neighboring grid cells and adjacent months are correlated.
- Next-month flood/drought behavior may depend on future rainfall and hydrological conditions that are not known at month
t. - Model results should be interpreted as prototype environmental-risk forecasting, not operational disaster forecasting.
Citation
If using this dataset, cite the dataset repository and acknowledge the original Earth observation and climate data providers used through Google Earth Engine.
- Downloads last month
- 116