The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ArrowInvalid
Message: Mismatching child array lengths
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, 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 127, 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 483, 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 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, 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 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, 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/hdf5/hdf5.py", line 83, in _generate_tables
pa_table = _recursive_load_arrays(h5, self.info.features, start, end)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 267, in _recursive_load_arrays
arr = _recursive_load_arrays(obj, features[path], start, end)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 288, in _recursive_load_arrays
sarr = pa.StructArray.from_arrays(values, names=keys)
File "pyarrow/array.pxi", line 4385, in pyarrow.lib.StructArray.from_arrays
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: Mismatching child array lengthsNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Cahn–Hilliard Phase Separation (cahn-hilliard)
One line description of the data: 576 Cahn–Hilliard phase-separation simulations on the sphere, with 64 snapshots on a latitude–longitude grid.
Longer description of the data: The Cahn–Hilliard equation describes phase separation in binary mixtures. Starting from a nearly uniform field with small Gaussian perturbations, the system undergoes spinodal decomposition into two phases and subsequently coarsens into progressively larger domains. We vary the interface width , the mean initial composition, the initial noise variance, and the sphere radius. The dataset provides a spherical benchmark with fourth-order spatial dynamics and a globally conserved order parameter.
Code or software used to generate the data: FiPy, using the NIST examples/cahnHilliard/sphere.py setup as the reference implementation.
Visualization:
About the data
Dimension of discretized data: 64 snapshots per trajectory, at and , on a (lat × lon) grid.
Fields available in the data:
| HDF5 path | Shape | Units | Description |
|---|---|---|---|
t0_fields/phi |
(1, 64, 256, 512) |
dimensionless | Order parameter ; the two coexisting phases correspond approximately to and |
scalars/{epsilon, mean_init, variance, radius, seed, D, a} |
() |
— | Run parameters (stored as floats) |
dimensions/{time, lat, lon} |
(64,), (256,), (512,) |
—, °, ° | Coordinates |
The stored field is float32; the time coordinate is float64. The snapshot is the raw noise initial condition and can extend well outside (in runs with variance = 0.05, from about to ). After that, stays within about 0.02 of .
Number of trajectories: 576: parameter combinations, each with 4 seeds. 461/58/57 train/validation/test split in data/{train,valid,test}/. Run IDs are ordered by parameter with epsilon outermost, so the first 17 test runs all have : sample across a split rather than taking its first runs.
Estimated size of the ensemble of all simulations: Approximately 15 GB (gzip-compressed HDF5).
Storage format: One HDF5 file per run. Normalization statistics computed on the train split are in stats.yaml.
Grid type: regular equiangular latitude–longitude grid, excluding the poles. The simulations are performed on an unstructured spherical Gmsh mesh and resampled to the regular grid using inverse-distance weighting over the four nearest mesh cells.
Initial conditions: Uncorrelated Gaussian noise, drawn independently for each cell of the native mesh, with mean mean_init and variance variance. No spin-up is discarded.
Boundary conditions: Spherical.
Simulation time-step : Adaptive. The time step starts at solver-time units, and grows by a factor per step. The configured cap of 100 is never reached within ; the step only reaches about 6.2.
Data are stored separated by : ≈10 solver-time units. Snapshot is written at the first solver step with , so it lags its mark by up to 5.8 units, and the spacing varies between 4.2 and 13.4. The final snapshot is at exactly . The time-step schedule does not depend on the run parameters, so all runs share the same dimensions/time.
Total time range to : 0 to 630 solver-time units.
Set of coefficients or non-dimensional parameters evaluated:
epsilon, the interface-width parametermean_init, the mean initial compositionvariance, the initial noise varianceradius, the sphere radiusseed, the initial-condition seed
The mobility and bulk free-energy scale are fixed to and .
Approximate time to generate the data: Approximately 5–30 minutes per trajectory, depending mainly on the sphere radius.
Hardware used to generate the data: CPU generation on sciCORE compute nodes (AMD EPYC or Intel Xeon), using one process per run.
Loading
Download a single run (≈29 MB) and read it with h5py:
import h5py
from huggingface_hub import hf_hub_download
path = hf_hub_download("sada-group/cahn-hilliard", "data/test/run_0001.h5", repo_type="dataset")
with h5py.File(path, "r") as f:
phi = f["t0_fields/phi"][0] # (64, 256, 512)
t = f["dimensions/time"][:] # solver time; spacing is not exactly 10
params = {k: f["scalars"][k][()] for k in f["scalars"]}
To download a whole split (or the full 15 GB dataset), use snapshot_download with allow_patterns:
from huggingface_hub import snapshot_download
root = snapshot_download(
"sada-group/cahn-hilliard",
repo_type="dataset",
allow_patterns=["data/test/*", "stats.yaml"], # drop allow_patterns for everything
)
Please cite the associated paper if you use this data in your research:
@misc{muser2026dandelionsphericalflowerneural,
title={Dandelion: A Spherical Flower for Neural Simulation of Planetary Dynamics},
author={Till Muser and Giovanni Abati and Ivan Dokmanić},
year={2026},
eprint={2608.27521},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2608.27521},
}
as well as the original Cahn–Hilliard references and the solver:
@article{cahn1958free,
title={Free Energy of a Nonuniform System. I. Interfacial Free Energy},
author={Cahn, John W. and Hilliard, John E.},
journal={The Journal of Chemical Physics},
volume={28},
number={2},
pages={258--267},
year={1958},
doi={10.1063/1.1744102}
}
@article{cahn1961spinodal,
title={On Spinodal Decomposition},
author={Cahn, John W.},
journal={Acta Metallurgica},
volume={9},
number={9},
pages={795--801},
year={1961},
doi={10.1016/0001-6160(61)90182-1}
}
@article{guyer2009fipy,
title={{FiPy}: Partial Differential Equations with {Python}},
author={Guyer, Jonathan E. and Wheeler, Daniel and Warren, James A.},
journal={Computing in Science \& Engineering},
volume={11},
number={3},
pages={6--15},
year={2009},
doi={10.1109/MCSE.2009.52}
}
- Downloads last month
- -