--- license: other license_name: sdrbench license_link: https://sdrbench.github.io/ pretty_name: "SDRBench: S3D" tags: - scientific-data - lossy-compression - sdrbench - hpc - sz3 configs: - config_name: files data_files: files.jsonl default: true --- # SDRBench — S3D Statistically planar premixed methane flame simulated with S3D (SNL): 11 variables on 500 x 500 x 500, double precision, little-endian. > **Raw binary arrays, not an Arrow/Parquet dataset.** `datasets.load_dataset("sdrbench/s3d")` returns the table of files (`files.jsonl`: path, dtype, shape, sha256). Read the arrays with the `sdrbench` package or `hf_hub_download` + numpy as shown below. This repository is an **unmodified mirror** of the S3D data of [SDRBench](https://sdrbench.github.io/datasets.html), 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 `e1229e5a46`). `metadata/` holds the original SDRBench property and template files. Kept in sync automatically by [szcompressor/sdrbench](https://github.com/szcompressor/sdrbench). - **Data provider:** Hemanth Kolla (SNL, hnkolla@sandia.gov) - **Size:** 55.0 GB in 1 variant(s) - **Format:** raw little-endian binary, C order (slowest dimension first); dtype and shape per field below ## Usage ```bash pip install "sdrbench[sz3]" # sdrbench + pysz (SZ3) ``` ```python import numpy as np import sdrbench from pysz import sz, szConfig, szErrorBoundMode ds = sdrbench.dataset("s3d") print(ds.fields) x = ds["CH4/1.1000E-03"] # numpy array, dtype (500, 500, 500) ``` ## Variants and fields ### `default` (default) `sdrbench.dataset("s3d", "default")` — folder `s3d/` — 7 files, 55.0 GB, from [SDRBENCH-S3D.tar.gz](https://g-d0cd3f.fd635.8443.data.globus.org/raw-data/S3D/SDRBENCH-S3D.tar.gz). 5 time steps (t = 1.1e-3 ... 2.995e-3 s). Each stored file holds all 11 variables (variable x z x y x x); fields are zero-copy views per variable: mass fractions CH4, O2, CO, CO2, H2O, N2; temperature T (normalized by 120 K), pressure P (by 1.41837e5 Pa), velocities U, V, W (by 347.2 m/s). 11 variable(s) x 5 steps (1.1000E-03 ... 2.9950E-03): `ds.series("CH4")`, `ds["CH4", "1.1000E-03"]`. | Field | dtype | Shape (C order) | File | |---|---|---|---| | `CH4/1.1000E-03` | `