Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'valid_frac', 'filepath', 'cloud_score', 'grid_id', 'date'}) and 5 missing columns ({'name', 'unit', 'source', 'index', 'band'}).
This happened while the csv dataset builder was generating data using
hf://datasets/CryoFM-Ano/CryoMesh/cryomesh_index.csv (at revision e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d), ['hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/band_info.csv', 'hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/cryomesh_index.csv', 'hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/cryomesh_metadata.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
grid_id: string
filepath: string
date: int64
cloud_score: double
valid_frac: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 859
to
{'index': Value('int64'), 'band': Value('string'), 'name': Value('string'), 'source': Value('string'), 'unit': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'valid_frac', 'filepath', 'cloud_score', 'grid_id', 'date'}) and 5 missing columns ({'name', 'unit', 'source', 'index', 'band'}).
This happened while the csv dataset builder was generating data using
hf://datasets/CryoFM-Ano/CryoMesh/cryomesh_index.csv (at revision e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d), ['hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/band_info.csv', 'hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/cryomesh_index.csv', 'hf://datasets/CryoFM-Ano/CryoMesh@e1b7d49ea5ff924eb5c8489ec11b3d27c298d94d/cryomesh_metadata.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
index int64 | band string | name string | source string | unit string |
|---|---|---|---|---|
0 | B2 | Blue | Sentinel-2 L2A | reflectance x 1e4 (DN) |
1 | B3 | Green | Sentinel-2 L2A | reflectance x 1e4 (DN) |
2 | B4 | Red | Sentinel-2 L2A | reflectance x 1e4 (DN) |
3 | B8 | NIR | Sentinel-2 L2A | reflectance x 1e4 (DN) |
4 | B11 | SWIR1 | Sentinel-2 L2A | reflectance x 1e4 (DN) |
5 | B12 | SWIR2 | Sentinel-2 L2A | reflectance x 1e4 (DN) |
6 | slope | Slope | Copernicus DEM GLO-30 | degrees |
7 | elevation | Elevation | Copernicus DEM GLO-30 | m |
8 | VV | VV | Sentinel-1 GRD | dB |
9 | VH | VH | Sentinel-1 GRD | dB |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
CryoMesh
CryoMesh is the multimodal pretraining corpus of CryoFM (model). It covers the glaciated and ice-covered regions of Earth with co-registered Sentinel-2 optical, Copernicus DEM topography and Sentinel-1 SAR at 10 m.
- 2,373 scenes (one per grid cell), acquired in 2021, at 10 m pixel size in local UTM / polar projections (101 CRSs)
- 877,881 non-overlapping 256 x 256 chips
- Regions follow RGI 7.0 first-order regions: Antarctica 823, Arctic 667, North America 405, High Mountain Asia 177, Southern Andes 123, European Alps 45, other 133
- 10 bands per scene, float32, stored losslessly (about 919 GB in total)
Bands
| index | band | source | unit |
|---|---|---|---|
| 0 | B2 (Blue) | Sentinel-2 L2A | reflectance x 1e4 |
| 1 | B3 (Green) | Sentinel-2 L2A | reflectance x 1e4 |
| 2 | B4 (Red) | Sentinel-2 L2A | reflectance x 1e4 |
| 3 | B8 (NIR) | Sentinel-2 L2A | reflectance x 1e4 |
| 4 | B11 (SWIR1) | Sentinel-2 L2A | reflectance x 1e4 |
| 5 | B12 (SWIR2) | Sentinel-2 L2A | reflectance x 1e4 |
| 6 | Slope | Copernicus DEM GLO-30 | degrees |
| 7 | Elevation | Copernicus DEM GLO-30 | m |
| 8 | VV | Sentinel-1 GRD | dB |
| 9 | VH | Sentinel-1 GRD | dB |
The same list is in band_info.csv. No-data pixels are NaN. Elevation and slope are 0 over floating ice shelves.
Files
npz/<grid_id>_<YYYYMMDD>.npz one scene, array 'x' of shape (10, H, W), float32
cryomesh_metadata.csv one row per scene: date, centre lat/lon, RGI 7.0 region, CRS + affine transform,
width/height, bounds, number of 256 px chips, cloud score, valid fraction
cryomesh_index.csv pretraining index used by the CryoFM code (point its npy_dir at the extracted arrays)
band_info.csv band order and units
Each .npz is a standard NumPy zip archive (DEFLATE), bit-identical to the float32 arrays used in pretraining.
import numpy as np, pandas as pd
from huggingface_hub import hf_hub_download
meta = pd.read_csv(hf_hub_download("CryoFM-Ano/CryoMesh", "cryomesh_metadata.csv", repo_type="dataset"))
row = meta.iloc[0]
x = np.load(hf_hub_download("CryoFM-Ano/CryoMesh", row.file, repo_type="dataset"))["x"] # (10, H, W)
To georeference a scene, use crs and transform_a..f (rasterio / GDAL affine order) from cryomesh_metadata.csv.
Download everything (about 919 GB): huggingface-cli download CryoFM-Ano/CryoMesh --repo-type dataset --local-dir CryoMesh.
Sources and licence
Derived from Copernicus Sentinel-2 L2A and Sentinel-1 GRD data (2021) and the Copernicus DEM GLO-30 (produced using Copernicus WorldDEM-30, © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018, provided under COPERNICUS by the European Union and ESA). Contains modified Copernicus Sentinel data (2021). Region labels from the Randolph Glacier Inventory 7.0.
The derived dataset is released under CC BY 4.0; please also respect the attribution terms of the sources above.
Citation
Anonymous submission; citation will be added after review.
- Downloads last month
- 63