Skip to content

feat!: mask only FILLVAL by default; VALIDMIN/VALIDMAX opt-in - #90

Merged
Beforerr merged 1 commit into
mainfrom
push-zuqrupynsqxy
Nov 23, 2026
Merged

Beforerr merged 1 commit into
mainfrom
push-zuqrupynsqxy

Conversation

@Beforerr

Copy link
Copy Markdown
Member

Valid-range bounds exclude real data across missions. One-day scans, share of
finite non-fill values masked: MMS1 MEC epht89d 2019-09-01 (r_* 33-63%,
l_dipole and geod_height 100%), ELFIN EPD L2 fluxes (up to 13%), RBSP HOPE
Position (59%), SolO SWA-PAS pressure tensor (19-30%), PSP ISOIS-EPIHI
negative background-subtracted fluxes (6%), ACE EPM zero rates, OMNI Vz,
Geotail CPI. Range-only sentinels found: Wind H1 SWE 99999.9 fit failures.
speasy ignores VALIDMAX deliberately; cdflib/pyspedas do not apply ranges.

validmin/validmax = true reads the attribute; nothing/false disables.

Valid-range bounds exclude real data across missions. One-day scans, share of
finite non-fill values masked: MMS1 MEC epht89d 2019-09-01 (r_* 33-63%,
l_dipole and geod_height 100%), ELFIN EPD L2 fluxes (up to 13%), RBSP HOPE
Position (59%), SolO SWA-PAS pressure tensor (19-30%), PSP ISOIS-EPIHI
negative background-subtracted fluxes (6%), ACE EPM zero rates, OMNI Vz,
Geotail CPI. Range-only sentinels found: Wind H1 SWE 99999.9 fit failures.
speasy ignores VALIDMAX deliberately; cdflib/pyspedas do not apply ranges.

validmin/validmax = true reads the attribute; nothing/false disables.
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1)

Time benchmarks
main b001126... main / b001126...
clip/dataset-epoch 4.1 ± 0.45 μs 4.02 ± 0.4 μs 1.02 ± 0.15
clip/dataset-variable 5.04 ± 0.65 μs 4.58 ± 0.64 μs 1.1 ± 0.21
clip/variable 8.21 ± 3.3 μs 8.1 ± 3.3 μs 1.01 ± 0.58
concat/dataset/epoch 3.41 ± 0.32 μs 3.54 ± 0.34 μs 0.963 ± 0.13
concat/dataset/variable 4.3 ± 0.37 μs 3.99 ± 0.33 μs 1.08 ± 0.13
concat/variable/array 0.531 ± 0.43 μs 0.661 ± 0.34 μs 0.803 ± 0.77
concat/variable/cat-array 0.721 ± 0.51 μs 0.811 ± 0.49 μs 0.889 ± 0.83
concat/variable/construct 5.26 ± 0.93 μs 4.81 ± 0.95 μs 1.09 ± 0.29
copyto/decoded 0.151 ± 0.011 μs 0.16 ± 0.01 μs 0.944 ± 0.091
copyto/variable 0.601 ± 0.07 μs 0.591 ± 0.02 μs 1.02 ± 0.12
copyto/view 0.321 ± 0.01 μs 0.341 ± 0.03 μs 0.941 ± 0.088
decode/float-3d 1.67 ± 0.39 μs 1.66 ± 0.4 μs 1.01 ± 0.34
decode/float-3d-raw 1.26 ± 0.38 μs 1.25 ± 0.39 μs 1.01 ± 0.44
decode/int8 0.141 ± 0.03 μs 0.16 ± 0.029 μs 0.881 ± 0.25
decode/lookup/omni-v 2.23 ± 0.32 μs 1.76 ± 0.3 μs 1.27 ± 0.28
decode/omni-v 0.231 ± 0.16 μs 0.271 ± 0.22 μs 0.852 ± 0.91
dimarray/clip 12.2 ± 0.68 μs 12.1 ± 0.91 μs 1.01 ± 0.095
dimarray/concat 10.2 ± 1 μs 10.1 ± 0.95 μs 1.01 ± 0.14
dimarray/single 5.38 ± 0.5 μs 5.38 ± 0.49 μs 1 ± 0.13
metadata/dataset 20 ± 10 ns 20 ± 10 ns 1 ± 0.71
metadata/depend 3.93 ± 0.31 μs 3.98 ± 0.36 μs 0.987 ± 0.12
variable/DataVariable/elfin-flux 17.5 ± 1.2 μs 17.3 ± 1.1 μs 1.01 ± 0.095
variable/DataVariable/omni-v 6.15 ± 0.55 μs 6.43 ± 0.62 μs 0.956 ± 0.13
variable/disk/broadcast-realized 2.84 ± 1.1 μs 3.04 ± 1.6 μs 0.934 ± 0.63
variable/disk/sum 1.68 ± 0.26 μs 1.8 ± 0.26 μs 0.933 ± 0.2
variable/in-memory/broadcast 2.14 ± 0.36 μs 2.16 ± 0.38 μs 0.991 ± 0.24
variable/in-memory/sum 0.18 ± 0.01 μs 0.19 ± 0.01 μs 0.947 ± 0.073
time_to_load 0.184 ± 0.0038 s 0.183 ± 0.0058 s 1.01 ± 0.038
Memory benchmarks
main b001126... main / b001126...
clip/dataset-epoch 0.042 k allocs: 4.53 kB 0.041 k allocs: 4.5 kB 1.01
clip/dataset-variable 0.055 k allocs: 4.78 kB 0.048 k allocs: 4.59 kB 1.04
clip/variable 0.049 k allocs: 16.1 kB 0.048 k allocs: 16.1 kB 1
concat/dataset/epoch 0.036 k allocs: 3.72 kB 0.035 k allocs: 3.69 kB 1.01
concat/dataset/variable 0.051 k allocs: 4.17 kB 0.044 k allocs: 3.98 kB 1.05
concat/variable/array 6 allocs: 5.95 kB 6 allocs: 5.95 kB 1
concat/variable/cat-array 15 allocs: 6.23 kB 15 allocs: 6.23 kB 1
concat/variable/construct 0.083 k allocs: 7.11 kB 0.076 k allocs: 6.92 kB 1.03
copyto/decoded 8 allocs: 0.625 kB 8 allocs: 0.625 kB 1
copyto/variable 6 allocs: 0.234 kB 6 allocs: 0.234 kB 1
copyto/view 7 allocs: 0.281 kB 7 allocs: 0.281 kB 1
decode/float-3d 6 allocs: 27.7 kB 6 allocs: 27.7 kB 1
decode/float-3d-raw 3 allocs: 27.6 kB 3 allocs: 27.6 kB 1
decode/int8 7 allocs: 2.17 kB 7 allocs: 2.17 kB 1
decode/lookup/omni-v 31 allocs: 5.27 kB 24 allocs: 5.09 kB 1.04
decode/omni-v 6 allocs: 3.13 kB 6 allocs: 3.13 kB 1
dimarray/clip 0.14 k allocs: 13 kB 0.132 k allocs: 12.7 kB 1.02
dimarray/concat 0.072 k allocs: 24.4 kB 0.071 k allocs: 24.3 kB 1
dimarray/single 0.046 k allocs: 14.2 kB 0.045 k allocs: 14.2 kB 1
metadata/dataset 0 allocs: 0 B 0 allocs: 0 B
metadata/depend 0.038 k allocs: 3.78 kB 0.037 k allocs: 3.75 kB 1.01
variable/DataVariable/elfin-flux 0.213 k allocs: 0.048 MB 0.198 k allocs: 0.0476 MB 1.01
variable/DataVariable/omni-v 0.059 k allocs: 15 kB 0.058 k allocs: 15 kB 1
variable/disk/broadcast-realized 12 allocs: 0.0809 MB 12 allocs: 0.0809 MB 1
variable/disk/sum 6 allocs: 27.7 kB 6 allocs: 27.7 kB 1
variable/in-memory/broadcast 13 allocs: 27.9 kB 13 allocs: 27.9 kB 1
variable/in-memory/sum 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.2 k allocs: 11.7 kB 0.2 k allocs: 11.7 kB 1

@Beforerr
Beforerr merged commit d07c72f into main Nov 23, 2026
8 checks passed
@Beforerr
Beforerr deleted the push-zuqrupynsqxy branch November 23, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant