Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
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 lengths

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.

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 256×512256 \times 512 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 ε\varepsilon, 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 t≈0,10,…,620t \approx 0, 10, \ldots, 620 and 630630, on a 256×512256 \times 512 (lat × lon) grid.

Fields available in the data:

HDF5 path Shape Units Description
t0_fields/phi (1, 64, 256, 512) dimensionless Order parameter φ\varphi; the two coexisting phases correspond approximately to φ=0\varphi = 0 and φ=1\varphi = 1
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 t=0t = 0 snapshot is the raw noise initial condition and can extend well outside [0,1][0,1] (in runs with variance = 0.05, from about −0.35-0.35 to 1.441.44). After that, φ\varphi stays within about 0.02 of [0,1][0,1].

Number of trajectories: 576: 4×3×4×34 \times 3 \times 4 \times 3 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 ε=0.5\varepsilon = 0.5: sample across a split rather than taking its first NN 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: 256×512256 \times 512 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 (Δt)(\Delta t): Adaptive. The time step starts at exp⁡(−5)≈0.0067\exp(-5) \approx 0.0067 solver-time units, and grows by a factor e0.01e^{0.01} per step. The configured cap of 100 is never reached within t≤630t \le 630; the step only reaches about 6.2.

Data are stored separated by (δt)(\delta t): ≈10 solver-time units. Snapshot ii is written at the first solver step with t≥10it \ge 10i, 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 t=630t = 630. The time-step schedule does not depend on the run parameters, so all runs share the same dimensions/time.

Total time range (tmin(t_\textup{min} to tmax)t_\textup{max}): 0 to 630 solver-time units.

Set of coefficients or non-dimensional parameters evaluated:

  • epsilon =ε∈{0.5,1.0,1.5,2.0}= \varepsilon \in \{0.5, 1.0, 1.5, 2.0\}, the interface-width parameter
  • mean_init ∈{0.35,0.50,0.65}\in \{0.35, 0.50, 0.65\}, the mean initial composition
  • variance ∈{0.001,0.005,0.01,0.05}\in \{0.001, 0.005, 0.01, 0.05\}, the initial noise variance
  • radius =R∈{5.0,7.5,10.0}= R \in \{5.0, 7.5, 10.0\}, the sphere radius
  • seed ∈{0,1,2,3}\in \{0, 1, 2, 3\}, the initial-condition seed

The mobility and bulk free-energy scale are fixed to D=1D = 1 and a=1a = 1.

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
-

Paper for sada-group/cahn-hilliard