hidefix 0.9.0__tar.gz → 0.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hidefix-0.10.0/.envrc +4 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/.github/workflows/python.yml +10 -12
- {hidefix-0.9.0 → hidefix-0.10.0}/.github/workflows/rust.yml +7 -5
- {hidefix-0.9.0 → hidefix-0.10.0}/Cargo.lock +726 -379
- {hidefix-0.9.0 → hidefix-0.10.0}/Cargo.toml +47 -10
- {hidefix-0.9.0 → hidefix-0.10.0}/PKG-INFO +2 -2
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/concurrency.rs +25 -23
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/dataset.rs +8 -6
- hidefix-0.10.0/benches/index.rs +12 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/large.rs +28 -26
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/native.rs +26 -24
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/norkyst.rs +11 -9
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/read.rs +26 -24
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/serialize.rs +64 -62
- {hidefix-0.9.0 → hidefix-0.10.0}/benches/stream.rs +20 -18
- {hidefix-0.9.0 → hidefix-0.10.0}/pyproject.toml +1 -1
- {hidefix-0.9.0 → hidefix-0.10.0}/src/filters/shuffle.rs +19 -19
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/chunk.rs +5 -5
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/dataset/dataset.rs +4 -4
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/dataset/mod.rs +10 -10
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/index.rs +1 -1
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/serde.rs +1 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/lib.rs +2 -11
- {hidefix-0.9.0 → hidefix-0.10.0}/src/python/mod.rs +3 -2
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/cache.rs +2 -1
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/dataset.rs +24 -8
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/direct.rs +1 -1
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/stream.rs +3 -2
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_xarray_backend.py +1 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/read_dims.rs +0 -3
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/read_norkyst.rs +0 -2
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/read_strings.rs +0 -3
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/read_svim.rs +0 -3
- hidefix-0.9.0/.envrc +0 -4
- hidefix-0.9.0/benches/index.rs +0 -10
- {hidefix-0.9.0 → hidefix-0.10.0}/.gitignore +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/LICENSE +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/README.md +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/codecov.yml +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/examples/read_hfx_cache.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/examples/read_hfx_concurrent.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/examples/read_hfx_parallel.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/examples/read_native_hdf5.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/idefix.png +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/python/hidefix/__init__.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/python/hidefix/xarray.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/bin/hfxidx.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/bin/hfxlst.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/extent.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/filters/byteorder.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/filters/gzip.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/filters/mod.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/filters/xdr.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/dataset/any.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/dataset/types.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/idx/mod.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/chunk.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/src/reader/mod.rs +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/conftest.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/coads_climatology.nc4 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_fourD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_gzipped_twoD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_oneD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_shuffled_twoD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_shufzip_twoD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_string_array.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_threeD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/chunked_twoD.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/t_float.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/dmrpp/t_int_scalar.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/feb.nc4 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/gzip_shuffle_2d.h5 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/gzip_shuffle_2d.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/data/jan.nc4 +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_index.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_netcdf.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_read.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_slice.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_xarray_group.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/python/test_xarray_large.py +0 -0
- {hidefix-0.9.0 → hidefix-0.10.0}/tests/read_double.rs +0 -0
hidefix-0.10.0/.envrc
ADDED
|
@@ -15,32 +15,30 @@ jobs:
|
|
|
15
15
|
runs-on: ${{matrix.platform}}
|
|
16
16
|
strategy:
|
|
17
17
|
matrix:
|
|
18
|
-
|
|
19
|
-
- ubuntu-latest
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
18
|
+
include:
|
|
19
|
+
- {platform: ubuntu-latest, rust: nightly}
|
|
20
|
+
- {platform: ubuntu-latest, rust: stable}
|
|
21
|
+
- {platform: windows-latest, rust: nightly}
|
|
22
|
+
- {platform: macos-latest, rust: nightly}
|
|
23
23
|
steps:
|
|
24
24
|
- uses: actions/checkout@v3
|
|
25
25
|
- uses: actions/setup-python@v4
|
|
26
26
|
with:
|
|
27
|
-
python-version: 3.
|
|
28
|
-
architecture: x64
|
|
27
|
+
python-version: "3.10"
|
|
29
28
|
- name: Build wheels
|
|
30
29
|
uses: PyO3/maturin-action@v1
|
|
31
30
|
with:
|
|
32
|
-
rust-toolchain:
|
|
33
|
-
target: ${{ matrix.target }}
|
|
31
|
+
rust-toolchain: '${{matrix.rust}}'
|
|
34
32
|
manylinux: auto
|
|
35
33
|
args: --release --sdist --out dist
|
|
36
34
|
- name: Install built wheel
|
|
37
|
-
if: matrix.target == 'x86_64'
|
|
35
|
+
# if: matrix.target == 'x86_64'
|
|
38
36
|
run: |
|
|
39
37
|
pip install numpy xarray netCDF4
|
|
40
38
|
pip install hidefix --no-index --find-links dist --force-reinstall --no-deps
|
|
41
39
|
python -c "import hidefix"
|
|
42
40
|
- name: Run tests
|
|
43
|
-
if: matrix.target == 'x86_64'
|
|
41
|
+
# if: matrix.target == 'x86_64'
|
|
44
42
|
run: |
|
|
45
43
|
pip install pytest pytest-benchmark dask
|
|
46
44
|
pytest -v --log-cli-level=debug -s
|
|
@@ -61,7 +59,7 @@ jobs:
|
|
|
61
59
|
name: wheels
|
|
62
60
|
- uses: actions/setup-python@v4
|
|
63
61
|
with:
|
|
64
|
-
python-version: 3.
|
|
62
|
+
python-version: "3.10"
|
|
65
63
|
- name: Publish to PyPI
|
|
66
64
|
env:
|
|
67
65
|
TWINE_USERNAME: __token__
|
|
@@ -45,8 +45,10 @@ jobs:
|
|
|
45
45
|
matrix:
|
|
46
46
|
include:
|
|
47
47
|
- {platform: ubuntu-latest, rust: nightly}
|
|
48
|
+
- {platform: ubuntu-latest, rust: stable}
|
|
48
49
|
- {platform: windows-latest, rust: nightly}
|
|
49
50
|
- {platform: macos-latest, rust: nightly}
|
|
51
|
+
|
|
50
52
|
steps:
|
|
51
53
|
- name: Checkout repository
|
|
52
54
|
uses: actions/checkout@v3
|
|
@@ -55,11 +57,11 @@ jobs:
|
|
|
55
57
|
with:
|
|
56
58
|
toolchain: '${{matrix.rust}}'
|
|
57
59
|
- name: Build and test all crates
|
|
58
|
-
run: cargo test -vv --workspace
|
|
60
|
+
run: cargo test -vv --workspace ${{matrix.rust == 'nightly' && '--features unstable' || '' }}
|
|
59
61
|
- name: Build and test all docs
|
|
60
|
-
run: cargo test -vv --workspace --doc
|
|
62
|
+
run: cargo test -vv --workspace --doc ${{matrix.rust == 'nightly' && '--features unstable' || '' }}
|
|
61
63
|
- name: Build examples
|
|
62
|
-
run: cargo b --examples --verbose
|
|
64
|
+
run: cargo b --examples --verbose ${{matrix.rust == 'nightly' && '--features unstable' || '' }}
|
|
63
65
|
|
|
64
66
|
bench:
|
|
65
67
|
name: Benchmark
|
|
@@ -68,7 +70,7 @@ jobs:
|
|
|
68
70
|
fail-fast: false
|
|
69
71
|
matrix:
|
|
70
72
|
include:
|
|
71
|
-
- {ubuntu:
|
|
73
|
+
- {ubuntu: latest, rust: nightly}
|
|
72
74
|
steps:
|
|
73
75
|
- name: Checkout repository
|
|
74
76
|
uses: actions/checkout@v3
|
|
@@ -77,7 +79,7 @@ jobs:
|
|
|
77
79
|
with:
|
|
78
80
|
toolchain: '${{matrix.rust}}'
|
|
79
81
|
- name: Build and bench
|
|
80
|
-
run: cargo bench -vv --workspace
|
|
82
|
+
run: cargo bench -vv --workspace --features unstable
|
|
81
83
|
|
|
82
84
|
audit:
|
|
83
85
|
name: Audit
|