The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
type: string
stac_version: string
id: string
title: string
description: string
license: string
extent: struct<spatial: struct<bbox: list<item: list<item: double>>>, temporal: struct<interval: list<item: (... 21 chars omitted)
child 0, spatial: struct<bbox: list<item: list<item: double>>>
child 0, bbox: list<item: list<item: double>>
child 0, item: list<item: double>
child 0, item: double
child 1, temporal: struct<interval: list<item: list<item: string>>>
child 0, interval: list<item: list<item: string>>
child 0, item: list<item: string>
child 0, item: string
providers: list<item: struct<name: string, roles: list<item: string>, url: string>>
child 0, item: struct<name: string, roles: list<item: string>, url: string>
child 0, name: string
child 1, roles: list<item: string>
child 0, item: string
child 2, url: string
summaries: struct<gsd: list<item: int64>>
child 0, gsd: list<item: int64>
child 0, item: int64
links: list<item: struct<rel: string, href: string, type: string>>
child 0, item: struct<rel: string, href: string, type: string>
child 0, rel: string
child 1, href: string
child 2, type: string
to
{'type': Value('string'), 'stac_version': Value('string'), 'id': Value('string'), 'description': Value('string'), 'title': Value('string'), 'links': List({'rel': Value('string'), 'href': Value('string'), 'type': Value('string')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
type: string
stac_version: string
id: string
title: string
description: string
license: string
extent: struct<spatial: struct<bbox: list<item: list<item: double>>>, temporal: struct<interval: list<item: (... 21 chars omitted)
child 0, spatial: struct<bbox: list<item: list<item: double>>>
child 0, bbox: list<item: list<item: double>>
child 0, item: list<item: double>
child 0, item: double
child 1, temporal: struct<interval: list<item: list<item: string>>>
child 0, interval: list<item: list<item: string>>
child 0, item: list<item: string>
child 0, item: string
providers: list<item: struct<name: string, roles: list<item: string>, url: string>>
child 0, item: struct<name: string, roles: list<item: string>, url: string>
child 0, name: string
child 1, roles: list<item: string>
child 0, item: string
child 2, url: string
summaries: struct<gsd: list<item: int64>>
child 0, gsd: list<item: int64>
child 0, item: int64
links: list<item: struct<rel: string, href: string, type: string>>
child 0, item: struct<rel: string, href: string, type: string>
child 0, rel: string
child 1, href: string
child 2, type: string
to
{'type': Value('string'), 'stac_version': Value('string'), 'id': Value('string'), 'description': Value('string'), 'title': Value('string'), 'links': List({'rel': Value('string'), 'href': Value('string'), 'type': Value('string')})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
FABDEM v1.2 STAC Catalog
The rasters have moved. This repository now holds the STAC metadata only. The GeoTIFFs live in the public bucket
links-ads/fabdem, and every STAC item here points at them, so nothing changes for STAC clients. What does change:hf download links-ads/fabdem-v12no longer gives you the tiles — see Accessing the data.
FABDEM (Forest And Buildings removed Copernicus DEM) is a global 30 m elevation dataset derived from Copernicus GLO-30, with forest and building height biases systematically removed by the University of Bristol. It represents bare-earth topography, which matters for hydrological modelling, flood risk, and any application where vegetation and built structures corrupt the terrain signal.
Dataset summary
| Resolution | 30 m (~1 arcsecond) |
| Coverage | Global, 19,011 tiles of ~1° × 1° |
| Format | Cloud-Optimized GeoTIFF, 3600 × 3600 px |
| Compression | DEFLATE, predictor 2, 512 × 512 internal tiles |
| Overviews | levels 2/4/8, average resampling |
| Data type | float32 elevation in metres, nodata −9999 |
| CRS | WGS84 (EPSG:4326) |
| Version | 1.2 |
| Total size | 438 GiB |
The tiles were rewritten from the University of Bristol distribution into valid COGs with internal overview pyramids. Pixel values are unchanged — the rewrite touched only the container, so low-zoom and windowed reads no longer require pulling whole files.
Structure
catalog.json root catalog -> collection.json
collection.json collection "fabdem", 19011 item links
stac_catalog/<id>/<id>.json one STAC item per tile
Item links hang off the collection, not the catalog, so a client walking
rel: item links must read collection.json.
Links inside the catalog are relative, which makes this tree a relative published catalog: the identical documents are also published in the bucket at https://huggingface.co/buckets/links-ads/fabdem/resolve/. Use whichever you prefer — this repo's CDN is faster for small documents, the bucket has no per-IP rate ceiling and is the better choice for automated traversal.
Accessing the data
Assets are plain public HTTPS objects, no authentication, readable by GDAL through
/vsicurl/:
import rasterio
url = "https://huggingface.co/buckets/links-ads/fabdem/resolve/tiles/N40E000-N50E010_FABDEM_V1-2/N44E007_FABDEM_V1-2.tif"
with rasterio.open("/vsicurl/" + url) as src:
print(src.profile["dtype"], src.shape, src.overviews(1))
preview = src.read(1, out_shape=(1, 450, 450)) # reads an overview, not the full grid
stac_catalog_query.ipynb in this repo shows the full path: read the collection,
filter tiles by area of interest, load only the matching items, and stack them
with stackstac.
Limitations
- Temporal snapshot: represents conditions circa 2020.
- Processing artifacts: some remain in complex terrain.
- Polar regions: coverage follows Copernicus DEM constraints.
Licence and attribution
FABDEM v1.2 is distributed under the Non-Commercial Government Licence v2.0 —
see license.txt. Non-commercial use only; keep the licence alongside any
redistribution.
Produced by the University of Bristol (https://data.bris.ac.uk/data/dataset/s5hqmjcdj8yo2ibzi9b4ew3sn), from Copernicus GLO-30 © ESA. Reprocessed and hosted by Fondazione LINKS — AI, Data & Space.
The original STAC cataloguing approach was inspired by https://github.com/cordmaur/fabdem-brazil-south.
Citation
Hawker, L., Uhe, P., Paulo, L., Sosa, J., Savage, J., Sampson, C., and Neal, J. (2022). "A 30 m Global Map of Elevation with Forests and Buildings Removed." Environmental Research Letters 17(2), 024016. https://doi.org/10.1088/1748-9326/ac4d4f
- Downloads last month
- 5,905