Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'validation' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      Schema at index 1 was different: 
validation_type: string
n: int64
R2: double
RMSE_Mgha: double
model: string
mask_IoU: double
icesat2_total: int64
icesat2_tree_matched: int64
icesat2_role: string
scale_mismatch_note: string
vs
latitude: double
longitude: double
h_canopy_m: double
H_pred: double
AGB_ice: double
AGB_pred: double
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 246, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 4196, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2533, in _head
                  return next(iter(self.iter(batch_size=n)))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2711, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2249, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 538, in _iter_arrow
                  yield new_key, pa.Table.from_batches(chunks_buffer)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Schema at index 1 was different: 
              validation_type: string
              n: int64
              R2: double
              RMSE_Mgha: double
              model: string
              mask_IoU: double
              icesat2_total: int64
              icesat2_tree_matched: int64
              icesat2_role: string
              scale_mismatch_note: string
              vs
              latitude: double
              longitude: double
              h_canopy_m: double
              H_pred: double
              AGB_ice: double
              AGB_pred: double

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.

Pabna City Urban Tree AGB & Carbon Dataset

Study: Urban Tree Carbon Mapping | Pabna Municipality, Bangladesh
Date: January 12, 2026 | Sensor: PlanetScope 8-band 3m
CRS: EPSG:32645 (UTM Zone 45N) | Author: Sabbir


Folder Structure

01_rasters/          GeoTIFF maps (load in QGIS, ArcGIS, Python)
  citywide_agb_Mgha.tif            AGB per pixel (Mg/ha)
  citywide_carbon_Mgha.tif         Carbon stock (Mg/ha)
  citywide_co2eq_Mgha.tif          CO2 equivalent (Mg/ha)
  tree_mask_segformer_t050.tif     Binary tree mask (0/1)

02_csv_tables/       Tabular data (pandas, Excel, Tableau)
  ward_carbon_equity_stats.csv     Per-ward AGB/Carbon/Cover/Gini
  citywide_agb_summary.csv         City-level summary stats
  feature_importance_xgb.csv       XGBoost feature importance
  icesat2_atl08_all_135pts.csv     ICESat-2 ATL08 all points
  icesat2_matched_points.csv       Tree-matched ICESat-2 points
  validation_metrics.csv           Model accuracy (CV R2, RMSE)
  field_agb_segformer_chm.csv      Drone field AGB summary

03_figures/          Publication PNG figures
  phase10b_citywide_agb_carbon.png   City-wide AGB + Carbon map
  phase11_ward_equity_6panel.png     Ward equity 6-panel figure
  phase12_validation_framework.png   Validation framework

04_geojson/          GeoJSON files (Kepler.gl, Leaflet, QGIS)
  ward_carbon_equity_merged.geojson  Ward polygons + AGB stats
  icesat2_atl08_canopy_points.geojson ICESat-2 point locations
  ward_boundary.geojson              Original ward boundaries

Key Results

Metric Value
Study area 1,081.3 ha (15 wards)
Tree canopy 285.6 ha (26.4%)
Total AGB 6,946 Mg
Total Carbon 3,265 Mg C
Total CO2eq 11,982 Mg CO2eq
Mean AGB density 24.3 Mg/ha
Ward cover range 16.4% to 40.9%
Gini (cover) 0.1546
CV R2 (XGB) 0.6919
RMSE 10.77 Mg/ha
SegFormer IoU 0.8741

Quick Load (Python)

from huggingface_hub import hf_hub_download
import pandas as pd, geopandas as gpd, rasterio

REPO = 'Sabbir12345/Pabna-CityTree-Jan12-Final'

# Ward GeoJSON (for map visualization)
ward_path = hf_hub_download(repo_id=REPO,
    filename='04_geojson/ward_carbon_equity_merged.geojson',
    repo_type='dataset')
gdf = gpd.read_file(ward_path)
print(gdf[['Ward','Cover_pct','Carbon_Mg','CO2eq_Mg']])

# AGB raster
agb_path = hf_hub_download(repo_id=REPO,
    filename='01_rasters/citywide_agb_Mgha.tif',
    repo_type='dataset')
with rasterio.open(agb_path) as src:
    agb = src.read(1)

# Ward stats CSV
csv_path = hf_hub_download(repo_id=REPO,
    filename='02_csv_tables/ward_carbon_equity_stats.csv',
    repo_type='dataset')
df = pd.read_csv(csv_path)

Methodology

PlanetScope 8-band 3m (Jan 12, 2026)
  -> SegFormer Segmentation  [IoU=0.8741]
  -> Drone CHM 5cm (3 fields)
  -> Allometry AGB=1.3322*H^1.5 [ICESat-2 calibrated]
  -> XGB+RF+LGB Ensemble  [CV R2=0.6919]
  -> City-wide AGB inference
  -> Carbon (x0.47) + CO2eq (x3.67)
  -> Per-ward equity analysis  [Gini=0.1546]

Citation

Sabbir et al. (2026). Urban Tree Biomass and Carbon Stock Estimation using SegFormer and PlanetScope Imagery: A Case Study of Pabna Municipality, Bangladesh. [Journal TBD]

Downloads last month
124