Skip to main content

ras-commander-fast-hdf

The default HDF engine of ras-commander: a native (Rust) reader for HEC-RAS HDF files.

ras-commander's Hdf* classes read plan results, geometry, terrain and land-cover HDF files through this engine. Results are identical to the h5py reference implementation (values, dtypes, columns, index, CRS, attributes and exceptions). Large reads are faster: 2D cell polygons 4–19× depending on mesh size, and mesh time series 2–8× on large meshes. Small reads are up to a few milliseconds slower. In the default auto mode, any read the engine refuses uses h5py.

Install

ras-commander installs this package automatically on Windows x64, Linux x64 and macOS arm64 (ras-commander 0.108.0 and later install 0.2.x; 0.107.1 installs 0.1.x), so this is enough:

pip install ras-commander

With ras-commander 0.107.0, install both: pip install ras-commander ras-commander-fast-hdf.

from ras_commander import fast_hdf
fast_hdf.available()   # True

Wheels: Windows x64, Linux x64 (manylinux2014, glibc 2.17 or later; and musllinux_1_2 for Alpine) and macOS arm64, CPython 3.10 or later. No HDF5 C library or Rust toolchain is needed to install. Windows and Linux are qualified against HEC-RAS result files; macOS builds and passes the smoke tests but has not been qualified. On other platforms ras-commander does not install the engine and uses h5py for every read; the source distribution builds the engine there but needs Rust.

Engine modes

Choose the mode with RAS_COMMANDER_FAST_HDF (h5py turns the native engine off):

Value Behavior
auto (default) Native where it is qualified; h5py whenever the engine refuses a read.
h5py Never use the native engine.
native Native or raise FastHdfError; for testing and qualification.

License

MIT license. The wheel includes the licenses of every bundled crate in THIRD-PARTY-NOTICES.md.

ras-commander-fast-hdf is an independent open source project. HEC-RAS is developed by the U.S. Army Corps of Engineers Hydrologic Engineering Center (HEC). This project is not affiliated with, endorsed by, or supported by HEC or USACE.

Metadata

Release files for ras-commander-fast-hdf 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ras-commander-fast-hdf 0.2.0
File Size Uploaded Provenance
ras_commander_fast_hdf-0.2.0.tar.gz 726.6 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for ras-commander-fast-hdf 0.2.0
File
ras_commander_fast_hdf-0.2.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
ras_commander_fast_hdf-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
ras_commander_fast_hdf-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
ras_commander_fast_hdf-0.2.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 27.2 MB

Release files / ras_commander_fast_hdf-0.2.0.tar.gz

Download URL ras_commander_fast_hdf-0.2.0.tar.gz
Size 726.6 kB
Tags Source
SHA-256 checksum
How to use checksums
75b7eb6e857a97cd815be1e82128fca2f568f08f86f8d9e6285ec1d3a55603f9
BLAKE2b-256 checksum
How to use checksums
6aad246f1beca398c9739da9c24b510a84f99676ef21703936f0ce1dbfe0aaf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ras_commander_fast_hdf-0.2.0-cp310-abi3-win_amd64.whl

Download URL ras_commander_fast_hdf-0.2.0-cp310-abi3-win_amd64.whl
Size 6.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f0a35bc5fbf75ce9dbf90d32ef15f2461e1746d73a9495f07afb99b191bc575c
BLAKE2b-256 checksum
How to use checksums
f57e11b6ef9b133d75052fb2ea3b0932e9583fa2d65ce9fdf7697bca158a8a63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ras_commander_fast_hdf-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL ras_commander_fast_hdf-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 6.6 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
72d605e89bca0f6cee0c7a244bf0230490dd19280c47f79083a0264949754e33
BLAKE2b-256 checksum
How to use checksums
fc69586b41491e68e78e2d5ea08bfb2efcd19b853449f973e5270833aa6a1424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ras_commander_fast_hdf-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ras_commander_fast_hdf-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
96bc000204f1c79d355d27f3867db106a655b0f52ffbeb308ad6a943b40deecb
BLAKE2b-256 checksum
How to use checksums
3e12db146a30886e6bc8314c8f2b5fbb19049b119b795957434a4d2d2e73d921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ras_commander_fast_hdf-0.2.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL ras_commander_fast_hdf-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Size 6.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5661d2abd582c9d18c74b4bcb1cca020a14dc52b7087a1c5dd47d85f799c9082
BLAKE2b-256 checksum
How to use checksums
dee0e69e7747adcbdb76efefa33dbc3592f752581187119641f1ac6167ad025a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ras-commander-fast-hdf 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page