Data and code for: Net gains, gross losses – an integrated geospatial–statistical assessment of rice paddy conversion against Indonesia's national baseline (Hulu Sungai Utara and Hulu Sungai Tengah, South Kalimantan)

Published: 20 October 2026| Version 1 | DOI: 10.17632/hz4zg7757s.1
Contributors:
,
,

Description

This dataset is the supplementary data and code package for the article "Net gains, gross losses: an integrated geospatial–statistical assessment of rice paddy conversion against Indonesia's national baseline" (Suryadi et al., submitted to Land Use Policy). It lets readers reproduce every table and figure of the article. Study area and period. Two rice-producing districts of South Kalimantan, Indonesia: Hulu Sungai Utara (HSU, ~906 km²) and Hulu Sungai Tengah (HST, ~1,457 km²). The analysis compares the national paddy baseline (Luas Baku Sawah, LBS 2019) with its 2021 verification and with Sentinel-2 imagery from 2021 and 2023. Framework. The package follows the Integrated Geospatial–Statistical Framework (IGSF) of the article. The framework has six modules: (M1) Sentinel-2 Random Forest classification, (M2) change accounting with origin and persistence tests, (M3) accuracy assessment, (M4) spatial statistics (global Moran's I, Getis-Ord Gi* hot spots, Clark–Evans nearest-neighbour index), (M5) overlay with the LBS 2019 baseline, and (M6) an audit of official district statistics. Contents: • 01_RAW_Satelite_Data – Sentinel-2 L2A scene inventories (2021, 2023) and one raw sample scene per district (GeoTIFF). • 02_Processing_Data – cloud-masked 2023 median composites (10 bands) and spectral indices (NDVI, NDWI, MNDWI, SAVI), ~10 m. • 03_Training_GroundTruth – reference change polygons and stratified training candidates (500 points per class per district; 70/30 split), as CSV, GeoJSON and shapefile. • 04_Classification_Output – 2023 Random Forest class maps (GeoTIFF), training features, confusion matrices, feature importance, class areas and metrics. • 05_Accuracy_Assessment – Excel workbook of the accuracy assessment with live formulas. • 06_Land_Use_Change_Data – change accounts per category, status and sub-district (kecamatan), rebuilt by formula; change polygons (GeoJSON). • 07_Spatial_Analysis_Data – 1-km and 2-km analysis grids with Gi* hot-spot results, Moran's I, Clark–Evans R, sub-district typology and patch-size classes. • 08_Policy_Data – overlay of paddy loss with the LBS 2019 baseline, per-district baseline areas and cross-folder consistency checks. • 09_Statistical_Data – every value extracted from the BPS yearbooks, with edition, table number and PDF page, and its verification status. • 10_Model_Output – regression script with diagnostics, the gap report for the incomplete BPS series, and the consistency check of Table A.2. • 11_Computational_Workflow – all Google Earth Engine (JavaScript) and Python scripts, a master run file (run_all.sh), pinned package versions (requirements.txt), result tables and the automatic check against the manuscript (485 values reproduced). • 12_Figures – Fig. 1–4 and Fig. S1–S2 (PDF, TIFF 600 dpi, PNG) with the script that draws them.

Files

Steps to reproduce

Steps to reproduce 1. Install Python 3.11 or later and the packages in 11_Computational_Workflow/requirements.txt (pip install -r requirements.txt). The BPS extraction step also needs pdftotext (poppler-utils). 2. Sentinel-2 composites: run gee/01_scene_inventory_and_raw_sample.js and gee/02_cloudmask_composite_indices.js in the Google Earth Engine Code Editor for each district (set SITE = 'HSU' or 'HST'). The resulting composites are already provided in folder 02. 3. Arrange the inputs in a RAW_DIR with the subfolders change/, lbs/, gee/ and bps/, as described in section 3 of the folder 11 README. 4. Run: bash run_all.sh <RAW_DIR> <OUT_DIR> [manuscript.txt]. The full run takes about 15 minutes on a laptop. 5. The last two steps (99_verify_against_manuscript.py and 100_extended_checks.py) compare every output with the values printed in the article and write verification_against_manuscript.csv and extended_checks.csv. 6. The Excel workbooks (folders 05, 06, 08, 09) contain live formulas. Excel recalculates them on opening; in LibreOffice use Data → Calculate → Recalculate Hard. Fixed settings: random seed 42 (HST sampling 43); Random Forest with 500 trees, max_features = sqrt, min_samples_leaf = 5; queen contiguity weights with 999 permutations.

Categories

Spatial Database, Food Policy in Indonesia, Farmland, Sentinel-2, Irrigated Rice

Licence