--- license: other license_name: sdrbench license_link: https://sdrbench.github.io/ pretty_name: "SDRBench: NYX" tags: - scientific-data - lossy-compression - sdrbench - hpc - sz3 configs: - config_name: files data_files: files.jsonl default: true --- # SDRBench — NYX Cosmology: adaptive-mesh hydrodynamics + N-body simulation (Nyx), 512 x 512 x 512, single precision, little-endian. > **Raw binary arrays, not an Arrow/Parquet dataset.** `datasets.load_dataset("sdrbench/nyx")` 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 NYX 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 `e6ce039140`). `metadata/` holds the original SDRBench property and template files. Kept in sync automatically by [szcompressor/sdrbench](https://github.com/szcompressor/sdrbench). - **Data provider:** Zarija Lukic (LBNL) - **Size:** 6.4 GB in 2 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("nyx") # default variant "original" print(ds.fields) x = ds["baryon_density"] # numpy array, dtype