variant stringclasses 2
values | field stringlengths 1 8 | var stringlengths 1 8 | step null | path stringlengths 31 42 | dtype stringclasses 1
value | shape listlengths 3 3 | file_shape listlengths 3 3 | component null | transpose null | bytes int64 564M 564M | sha256 stringlengths 64 64 |
|---|---|---|---|---|---|---|---|---|---|---|---|
original | PRES | PRES | null | 98x1200x1200/PRES-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | e294cdaf938ce6f376c5543995ffd41909c2b2819cebc32341a96184d78175f9 |
original | QC | QC | null | 98x1200x1200/QC-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 7b9e06cf1bc19fd5bce2fd20fd5e3fb9b4088b297f7a898a91bbac6286a43bb6 |
original | QG | QG | null | 98x1200x1200/QG-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 497034146f753ffd757984b49a4fc66393e47225561a6ae9269f8eea3e176a57 |
original | QI | QI | null | 98x1200x1200/QI-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | f89b0c40db48d1cf8b4fc67e4a54e8f1ff32ea698a0aece4064ba51882785bfd |
original | QR | QR | null | 98x1200x1200/QR-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 5c839f71bd8d84ec7658503472778e649801594bcfc56d2c84521d99a04f0952 |
original | QS | QS | null | 98x1200x1200/QS-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 50cf7235dce099783a8346a588b45a4ac5b1186b42420dce74bb1a63af6d3090 |
original | QV | QV | null | 98x1200x1200/QV-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | e9d231ff97c12af1212413b7f959e7301bad4df182475432a2a78443c2b9545d |
original | RH | RH | null | 98x1200x1200/RH-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | b4bb2e2b1a59c4f9addc9beff7a53819f99db1ebd04af3522ff0639afe6d3d3a |
original | T | T | null | 98x1200x1200/T-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 3c1d60a034dea48dcf279c8509434f2ec54a126c167a718767c98c0abb2290b0 |
original | U | U | null | 98x1200x1200/U-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | e37754f24730c2e020340b56e793690a14bf4fa2ff1a3cc0b964d804a54b9f62 |
original | V | V | null | 98x1200x1200/V-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 476c8de794ae30791b2f7f1e33813ad59666c56ad1e8adeae18f9b0616c352ab |
original | W | W | null | 98x1200x1200/W-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | fb4bea3baa5ccd05f149aba1d29c13d84d8b57832d7622380a19acd95c61cbef |
log | PRES | PRES | null | 98x1200x1200_log/PRES-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | e294cdaf938ce6f376c5543995ffd41909c2b2819cebc32341a96184d78175f9 |
log | QC_log10 | QC_log10 | null | 98x1200x1200_log/QC-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | b5004b93388086ee76918f35e804f6f0351417ff43b6c508c37fa754e48dbb54 |
log | QG_log10 | QG_log10 | null | 98x1200x1200_log/QG-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | ef0f8ad10a43f1351f928957d8a794d914d517f671bc57c9ff85d566f74bbf53 |
log | QI_log10 | QI_log10 | null | 98x1200x1200_log/QI-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 5c8113d9620c237e812dee21d56161971fe65d88e43bf8c518c1d87623d37b9f |
log | QR_log10 | QR_log10 | null | 98x1200x1200_log/QR-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 701f4927477ac35deab845956879a01ed30de581812b1f5f44de0623350ea339 |
log | QS_log10 | QS_log10 | null | 98x1200x1200_log/QS-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 4dbd0a93b8529cba716e15286f10eb6d78a65a444ac66b6c5c13e44fe59be6dd |
log | QV_log10 | QV_log10 | null | 98x1200x1200_log/QV-98x1200x1200.log10.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 206bfd9409d2962a6f2a5aafafa7a187c6237c970d43b42a9e2af3148280c858 |
log | RH | RH | null | 98x1200x1200_log/RH-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | b4bb2e2b1a59c4f9addc9beff7a53819f99db1ebd04af3522ff0639afe6d3d3a |
log | T | T | null | 98x1200x1200_log/T-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 3c1d60a034dea48dcf279c8509434f2ec54a126c167a718767c98c0abb2290b0 |
log | U | U | null | 98x1200x1200_log/U-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | e37754f24730c2e020340b56e793690a14bf4fa2ff1a3cc0b964d804a54b9f62 |
log | V | V | null | 98x1200x1200_log/V-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | 476c8de794ae30791b2f7f1e33813ad59666c56ad1e8adeae18f9b0616c352ab |
log | W | W | null | 98x1200x1200_log/W-98x1200x1200.f32 | <f4 | [
98,
1200,
1200
] | [
98,
1200,
1200
] | null | null | 564,480,000 | fb4bea3baa5ccd05f149aba1d29c13d84d8b57832d7622380a19acd95c61cbef |
SDRBench — SCALE-LETKF
Weather simulation from the SCALE-RM model with LETKF data assimilation (RIKEN): 12 variables on 98 x 1200 x 1200 (z, y, x), single precision, little-endian.
Raw binary arrays, not an Arrow/Parquet dataset.
datasets.load_dataset("sdrbench/scale-letkf")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 SCALE-LETKF 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 18665ddfb9). metadata/ holds
the original SDRBench property and template files. Kept in sync automatically by
szcompressor/sdrbench.
- Data provider: RIKEN; contact Guo-Yuan Lien (guoyuan.lien@gmail.com)
- Size: 13.5 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("scale-letkf") # default variant "original"
print(ds.fields)
x = ds["PRES"] # numpy array, dtype <f4, shape (98, 1200, 1200)
# 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("scale-letkf", 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/scale-letkf", "98x1200x1200/PRES-98x1200x1200.f32", repo_type="dataset", revision="18665ddfb989801761218b81e665072f998a23ff")
x = np.fromfile(p, dtype="<f4").reshape((98, 1200, 1200))
Variants and fields
original (default)
sdrbench.dataset("scale-letkf", "original") — folder 98x1200x1200/ — 12 files, 6.8 GB, from SDRBENCH-SCALE-98x1200x1200.tar.gz.
All variables.
| Field | dtype | Shape (C order) | File |
|---|---|---|---|
PRES |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/PRES-98x1200x1200.f32 |
QC |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QC-98x1200x1200.f32 |
QG |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QG-98x1200x1200.f32 |
QI |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QI-98x1200x1200.f32 |
QR |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QR-98x1200x1200.f32 |
QS |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QS-98x1200x1200.f32 |
QV |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/QV-98x1200x1200.f32 |
RH |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/RH-98x1200x1200.f32 |
T |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/T-98x1200x1200.f32 |
U |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/U-98x1200x1200.f32 |
V |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/V-98x1200x1200.f32 |
W |
<f4 |
98 x 1200 x 1200 | 98x1200x1200/W-98x1200x1200.f32 |
log
sdrbench.dataset("scale-letkf", "log") — folder 98x1200x1200_log/ — 12 files, 6.8 GB, from SDRBENCH-SCALE-98x1200x1200_log.tar.gz.
The hydrometeor and vapour mixing ratios log10-transformed; the other variables unchanged.
| Field | dtype | Shape (C order) | File |
|---|---|---|---|
PRES |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/PRES-98x1200x1200.f32 |
QC_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QC-98x1200x1200.log10.f32 |
QG_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QG-98x1200x1200.log10.f32 |
QI_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QI-98x1200x1200.log10.f32 |
QR_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QR-98x1200x1200.log10.f32 |
QS_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QS-98x1200x1200.log10.f32 |
QV_log10 |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/QV-98x1200x1200.log10.f32 |
RH |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/RH-98x1200x1200.f32 |
T |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/T-98x1200x1200.f32 |
U |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/U-98x1200x1200.f32 |
V |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/V-98x1200x1200.f32 |
W |
<f4 |
98 x 1200 x 1200 | 98x1200x1200_log/W-98x1200x1200.f32 |
Citation
Please cite SDRBench; sdrbench cite scale-letkf 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
- 40