variant string | field string | var string | step string | path string | dtype string | shape list | file_shape list | component null | transpose null | bytes int64 | sha256 string |
|---|---|---|---|---|---|---|---|---|---|---|---|
raw | dpot/08100 | dpot | 08100 | xgc/xgc.3d.08100.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | f79c98f380218737c94dfd1d435bf718920f5c1ed6c3c9e2ecef8b2c0662895f |
raw | iden/08100 | iden | 08100 | xgc/xgc.3d.08100.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | b194bfbc623981f43afc451fd6c38a705f14820bd93d1130b0e639c2caeec226 |
raw | pot0/08100 | pot0 | 08100 | xgc/xgc.3d.08100.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 180532c89b2c2a80b9b2f8a769d1e685860b0dc2c1688c05dab1face7afa7b80 |
raw | potm0/08100 | potm0 | 08100 | xgc/xgc.3d.08100.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | a2ead1e25a3a1ca2ec9ad4e7a33eeeb5f5150dba51f1d58c4ae4df45bdf711a3 |
raw | dpot/08200 | dpot | 08200 | xgc/xgc.3d.08200.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 746952b17b66d8cf7c47d550c08da92343e143bc329cb2bc305d90c535eb82ec |
raw | iden/08200 | iden | 08200 | xgc/xgc.3d.08200.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 28e809ab4a6113a79011bb8dd06692b783fa11b5893c4d1a887a120bf6e1c39b |
raw | pot0/08200 | pot0 | 08200 | xgc/xgc.3d.08200.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 6a1a6c1a8e7f2e0cb5e1fc5fdeaf22e65e3c1bc36f3e56cc5c53476910e22c8f |
raw | potm0/08200 | potm0 | 08200 | xgc/xgc.3d.08200.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 1b11a4b743470ba41a75424b43179e4f06aba4b4f8120cc707123874329821b8 |
raw | dpot/08300 | dpot | 08300 | xgc/xgc.3d.08300.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 602982194b2e3f40bf5a70e6a03b4d176b6a1df11807b24bdff4c62aab73b0ad |
raw | iden/08300 | iden | 08300 | xgc/xgc.3d.08300.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 72988b03f8123ff3724d7fd90ae4007fb4e5a38a7f3950cd9763de9f39008cd3 |
raw | pot0/08300 | pot0 | 08300 | xgc/xgc.3d.08300.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 0c06f8328b728e005a8bec82cdc509676770be02bfd0142ef351525ac542f0b2 |
raw | potm0/08300 | potm0 | 08300 | xgc/xgc.3d.08300.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 56e807a1211048670730f8b9cc063849c1282613213568624615e5b02faeb988 |
raw | dpot/08400 | dpot | 08400 | xgc/xgc.3d.08400.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 7a0d89bda7423a68f32f3f33bd32510a9a2721f358f9d055cc1dcebc66a062a4 |
raw | iden/08400 | iden | 08400 | xgc/xgc.3d.08400.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 2bf5d2378c9d24c84fc66e9ff552a774271c375cbc811c87f71c3dc264e82a0a |
raw | pot0/08400 | pot0 | 08400 | xgc/xgc.3d.08400.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 0d998536c002ac92923f9b7106ddb13ce64497693ea386c814a34af841537834 |
raw | potm0/08400 | potm0 | 08400 | xgc/xgc.3d.08400.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 8bb23e191e0cf03edd6493308c4df6813e8f8f42dd6c5a08dd08d82ede40cb77 |
raw | dpot/08500 | dpot | 08500 | xgc/xgc.3d.08500.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 51575a0d67e3794819d66a721f9c9ea8f1c2a611279861cf5c0b5c9e6206eb9d |
raw | iden/08500 | iden | 08500 | xgc/xgc.3d.08500.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 443f1039f379af27057916807b49e04ceaf3d1a5c98597dabfe5923864b9b20a |
raw | pot0/08500 | pot0 | 08500 | xgc/xgc.3d.08500.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 790239dca2cd68a7bf58319efb87579df5f8a1f8612e47ef534286f507adb7b4 |
raw | potm0/08500 | potm0 | 08500 | xgc/xgc.3d.08500.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 96be66399dcafd7d7f69bb4cb1458ce00279b29cfeb47ffdf7519823926f2106 |
raw | dpot/08600 | dpot | 08600 | xgc/xgc.3d.08600.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 1ce4ee7d7da695cca0b450e3bbf137d2a0015c76128593642ee5536cfbd15224 |
raw | iden/08600 | iden | 08600 | xgc/xgc.3d.08600.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | c5e3d8e7dcac78a47f2dcf616c2fd4cc2013dd4aabd8c9f5703f4a5cc8f431d3 |
raw | pot0/08600 | pot0 | 08600 | xgc/xgc.3d.08600.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | ace42a706402b981e9f21c7cf65ebd95c25d2e82a578870d8774e5b4208577e6 |
raw | potm0/08600 | potm0 | 08600 | xgc/xgc.3d.08600.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | e5f3c752ad90ff2bc997817f6a3884d2132b3789f3a64833faf382ff1655296b |
raw | dpot/08700 | dpot | 08700 | xgc/xgc.3d.08700.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 3c3451023abe43a8b5e34da1874c6b582c93c841a83f7a6bf789f7c439f6e825 |
raw | iden/08700 | iden | 08700 | xgc/xgc.3d.08700.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | dfe7be182129e1084c876544899fa04503e57b24d428dd07a839a36f7b07349e |
raw | pot0/08700 | pot0 | 08700 | xgc/xgc.3d.08700.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 46f3b192351dbcb37428ab00d4b71e3a4913e365a9945cb4bfdeb0917b8729af |
raw | potm0/08700 | potm0 | 08700 | xgc/xgc.3d.08700.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 622f2f67078e0ed1bb8d3c217b9304a8d824db2f3680e9ba20e8c0efa1f8ba35 |
raw | dpot/08800 | dpot | 08800 | xgc/xgc.3d.08800.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | c232f350f62deb7a1538a454bd46752f2488d6f275217664ab1bd211eb728d7f |
raw | iden/08800 | iden | 08800 | xgc/xgc.3d.08800.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | f686a6b7ef4d219800b0fab4427669406008937bae94441fb57792881110415b |
raw | pot0/08800 | pot0 | 08800 | xgc/xgc.3d.08800.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | e62b81351ce6ed966c51bfafcf1103bd66342b92ed8f362ad1f73f2fd53766f1 |
raw | potm0/08800 | potm0 | 08800 | xgc/xgc.3d.08800.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 13f2615cfba1bc657f94def7743585f5399ba5e09646d5b2428380ac8c127faf |
raw | dpot/08900 | dpot | 08900 | xgc/xgc.3d.08900.bp_dpot_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | 8e2dafae0b1979dfd7438e2b3cdb6a6776d13b292790f7036896cace6db5e2ba |
raw | iden/08900 | iden | 08900 | xgc/xgc.3d.08900.bp_iden_20694x512_double | <f8 | [
20694,
512
] | [
20694,
512
] | null | null | 84,762,624 | c79366dc92bf1b0ffb51fbeeb9e49ce70276b40b722cc9ff236393209755e332 |
raw | pot0/08900 | pot0 | 08900 | xgc/xgc.3d.08900.bp_pot0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 272ce7b29058bdc0d9427e19f42ce0ea272f66ac4c916e032e334801c6459d45 |
raw | potm0/08900 | potm0 | 08900 | xgc/xgc.3d.08900.bp_potm0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 380bfb5004d792ecefcfb8d8be9b410b6f3f67be65110c5123a164df2a0c0743 |
raw | mesh_cell_set[0]-node_connect_list | mesh_cell_set[0]-node_connect_list | null | xgc/xgc.mesh.bp_cell_set[0]-node_connect_list_41087x3_int32_t | <i4 | [
41087,
3
] | [
41087,
3
] | null | null | 493,044 | dc9a75eb906c71f912ca5290aca0fb11a6071f637600caa60d381566a716ecde |
raw | mesh_coordinates-values | mesh_coordinates-values | null | xgc/xgc.mesh.bp_coordinates-values_20694x2_double | <f8 | [
20694,
2
] | [
20694,
2
] | null | null | 331,104 | b39eaedd9b0ad44385d50f143ff4f68de046ef86354f40e689fe7e8a7e9e522c |
raw | mesh_nd_connect_list | mesh_nd_connect_list | null | xgc/xgc.mesh.bp_nd_connect_list_41087x3_int32_t | <i4 | [
41087,
3
] | [
41087,
3
] | null | null | 493,044 | dc9a75eb906c71f912ca5290aca0fb11a6071f637600caa60d381566a716ecde |
raw | mesh_nextnode | mesh_nextnode | null | xgc/xgc.mesh.bp_nextnode_20694_int32_t | <i4 | [
20694
] | [
20694
] | null | null | 82,776 | bffb2fb239cf015d01d5ab27ec98e8d3e5d704456f51c0a7ba3457278585d628 |
raw | mesh_node_vol | mesh_node_vol | null | xgc/xgc.mesh.bp_node_vol_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 2ee0aea65845aeb26feb601f57abf041fb1d847b2496b8b2cead8e58260a13e9 |
raw | mesh_node_vol_ff0 | mesh_node_vol_ff0 | null | xgc/xgc.mesh.bp_node_vol_ff0_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 6f0e06e3cff2c033efa1445806b6cb7d862e2e77cf39db9e05f00e6e0fccd630 |
raw | mesh_node_vol_ff1 | mesh_node_vol_ff1 | null | xgc/xgc.mesh.bp_node_vol_ff1_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | 11588c5ea540797f895a70c19a386cf644d2a7e55fc75ecc311d7fb5396a2951 |
raw | mesh_psi | mesh_psi | null | xgc/xgc.mesh.bp_psi_20694_double | <f8 | [
20694
] | [
20694
] | null | null | 165,552 | fda7f2dadb581c56a9bef3458686e4de8ed78e1770424cd6a55a84633b72c909 |
raw | mesh_rz | mesh_rz | null | xgc/xgc.mesh.bp_rz_20694x2_double | <f8 | [
20694,
2
] | [
20694,
2
] | null | null | 331,104 | b39eaedd9b0ad44385d50f143ff4f68de046ef86354f40e689fe7e8a7e9e522c |
adios | null | null | null | xgc.3d/xgc.3d.08100.bp | null | null | null | null | null | 170,333,038 | 69a14d7d4e979769edd818ce5ba2d13ecf5a8d6060ce236dfdc287ed81dd4a4f |
adios | null | null | null | xgc.3d/xgc.3d.08200.bp | null | null | null | null | null | 170,358,738 | 9ddd9a6bc3a4511b75d335f04f47410c8a40cae8bc2d6fe6df51aa18ddd0fa62 |
adios | null | null | null | xgc.3d/xgc.3d.08300.bp | null | null | null | null | null | 170,384,438 | 2609a70f93826d21e9c13594f5a90eddadf803629dd0e3c8ea9bba1d2dc71ff1 |
adios | null | null | null | xgc.3d/xgc.3d.08400.bp | null | null | null | null | null | 170,410,138 | 27c3a5c16738f691fa429d2302141b34643cb06c37f49674855c44425cc4672a |
adios | null | null | null | xgc.3d/xgc.3d.08500.bp | null | null | null | null | null | 170,435,838 | 3e35d7e3eb16a12b8eca7c938716f6f31c98ad09dd103a95722a67540e07bd03 |
adios | null | null | null | xgc.3d/xgc.3d.08600.bp | null | null | null | null | null | 170,461,538 | 40b71ae53863a8146bf03493516f3a25793b61b4658e30b09eda7f9a86fb589e |
adios | null | null | null | xgc.3d/xgc.3d.08700.bp | null | null | null | null | null | 170,487,238 | eba3ccabc9ae921aa7fe9ef2f44aa1a5a152865d9cc20a96705df54fb9c29211 |
adios | null | null | null | xgc.3d/xgc.3d.08800.bp | null | null | null | null | null | 170,512,938 | b77560d02f92005d98e3dc75399e8eeb4148764f1a0310d9df7b419149c2c391 |
adios | null | null | null | xgc.3d/xgc.3d.08900.bp | null | null | null | null | null | 170,312,478 | 39e2ca5a5ac7adb44be1b931d82f85592229a297cfad175100b727318ff8f02a |
adios | null | null | null | xgc.3d/xgc.mesh.bp | null | null | null | null | null | 2,397,703 | 15b5f4d458ee6c4724c28c2c1cdd0a88c0aeb05d2c4c795d998cb37fed81c87c |
SDRBench — XGC
Gyrokinetic fusion plasma simulation (XGC, PPPL): fields on an unstructured mesh of 20694 nodes x 512 toroidal planes, 9 time steps, double precision.
Raw binary arrays, not an Arrow/Parquet dataset.
datasets.load_dataset("sdrbench/xgc")returns the table of files (files.jsonl: path, dtype, shape, sha256). Read the arrays with thesdrbenchpackage orhf_hub_download+ numpy as shown below.
This repository is an unmodified mirror of the XGC data of SDRBench, the
Scientific Data Reduction Benchmark. The originals are hosted by Argonne National Laboratory on Globus;
every archive was unpacked and its files uploaded byte-for-byte (sha256 verified) (revision f2518596a1). metadata/ holds
the original SDRBench property and template files. Kept in sync automatically by
szcompressor/sdrbench.
- Data provider: Princeton Plasma Physics Laboratory (PPPL); https://jychoi-hpc.github.io/adios-python-docs/XGC-mesh-and-field-data.html
- Size: 3.1 GB in 2 variant(s)
- Format: raw little-endian binary, C order (slowest dimension first); dtype and shape per field below
Usage
pip install "sdrbench[sz3]" # sdrbench + pysz (SZ3)
import numpy as np
import sdrbench
from pysz import sz, szConfig, szErrorBoundMode
ds = sdrbench.dataset("xgc") # default variant "raw"
print(ds.fields)
x = ds["mesh_coordinates-values"] # numpy array, dtype <f8, shape (20694, 2)
# compress with SZ3 (pysz) at a 1e-3 value-range-relative error bound
conf = szConfig()
conf.errorBoundMode = szErrorBoundMode.REL
conf.relErrorBound = 1e-3
compressed, ratio = sz.compress(np.ascontiguousarray(x), conf)
y, _ = sz.decompress(compressed, x.dtype.type, x.shape)
max_err, psnr, nrmse = sz.verify(np.asarray(x), y)
print(f"ratio {ratio:.1f}x, PSNR {psnr:.1f} dB, max error {max_err:.3g}")
Files are fetched on first use (in parallel with ds.download("data/")) and cached, pinned to the revision
of the installed sdrbench release; if Hugging Face is unreachable the package falls back to the original
archive on Globus. Existing local SDRBench copies can be used with sdrbench.dataset("xgc", root="/path").
Without the package, with huggingface_hub and numpy only:
from huggingface_hub import hf_hub_download
import numpy as np
p = hf_hub_download("sdrbench/xgc", "xgc/xgc.mesh.bp_coordinates-values_20694x2_double", repo_type="dataset", revision="f2518596a116a47c2e439417e17f4d9458012ccb")
x = np.fromfile(p, dtype="<f8").reshape((20694, 2))
Variants and fields
raw (default)
sdrbench.dataset("xgc", "raw") — folder xgc/ — 45 files, 1.5 GB, from xgc.zip.
Raw binary arrays extracted from the ADIOS files: per time step dpot, iden (20694 x 512), pot0, potm0 (20694); mesh arrays prefixed mesh_.
13 variable(s) x 9 steps (08100 ... 08900): ds.series("dpot"), ds["dpot", "08100"].
| Field | dtype | Shape (C order) | File |
|---|---|---|---|
dpot/08100 |
<f8 |
20694 x 512 | xgc/xgc.3d.08100.bp_dpot_20694x512_double |
iden/08100 |
<f8 |
20694 x 512 | xgc/xgc.3d.08100.bp_iden_20694x512_double |
pot0/08100 |
<f8 |
20694 | xgc/xgc.3d.08100.bp_pot0_20694_double |
potm0/08100 |
<f8 |
20694 | xgc/xgc.3d.08100.bp_potm0_20694_double |
dpot/08200 |
<f8 |
20694 x 512 | xgc/xgc.3d.08200.bp_dpot_20694x512_double |
iden/08200 |
<f8 |
20694 x 512 | xgc/xgc.3d.08200.bp_iden_20694x512_double |
pot0/08200 |
<f8 |
20694 | xgc/xgc.3d.08200.bp_pot0_20694_double |
potm0/08200 |
<f8 |
20694 | xgc/xgc.3d.08200.bp_potm0_20694_double |
dpot/08300 |
<f8 |
20694 x 512 | xgc/xgc.3d.08300.bp_dpot_20694x512_double |
iden/08300 |
<f8 |
20694 x 512 | xgc/xgc.3d.08300.bp_iden_20694x512_double |
| ... 35 more |
adios
sdrbench.dataset("xgc", "adios") — folder xgc.3d/ — 10 files, 1.5 GB, from xgc.3d.tar.gz.
The original ADIOS BP files (not raw arrays; read them with ADIOS).
Other files: xgc.3d/xgc.3d.08100.bp, xgc.3d/xgc.3d.08200.bp, xgc.3d/xgc.3d.08300.bp, xgc.3d/xgc.3d.08400.bp, xgc.3d/xgc.3d.08500.bp, xgc.3d/xgc.3d.08600.bp, xgc.3d/xgc.3d.08700.bp, xgc.3d/xgc.3d.08800.bp, xgc.3d/xgc.3d.08900.bp, xgc.3d/xgc.mesh.bp
Citation
Please cite SDRBench; sdrbench cite xgc prints it:
@inproceedings{zhao2020sdrbench,
title = {{SDRBench}: Scientific Data Reduction Benchmark for Lossy Compressors},
author = {Zhao, Kai and Di, Sheng and Liang, Xin and Li, Sihuan and Tao, Dingwen and Chen, Zizhong and Cappello, Franck},
booktitle = {2020 IEEE International Conference on Big Data (Big Data)},
pages = {2716--2724},
year = {2020}
}
License and terms
The data are distributed by the SDRBench team for research use under the terms of the original data providers listed above (see the SDRBench website); please acknowledge them as requested. Rights remain with the data providers.
- Downloads last month
- 268