ras-commander-fast-hdf
A native (Rust) reader for HEC-RAS HDF files, used by ras-commander.
Install it next to ras-commander and the Hdf* classes read plan results,
geometry, terrain and land-cover HDF files through this engine instead of
h5py. Results are identical (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–7× on large meshes. Small reads are a few
milliseconds slower.
Install
pip install ras-commander ras-commander-fast-hdf
from ras_commander import fast_hdf
fast_hdf.available() # True
Wheels: Windows x64, Linux x64 (manylinux_2_28) 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.
Engine modes
Choose the mode with RAS_COMMANDER_FAST_HDF:
| 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. |
Links
- User guide: https://rascommander.info/ras/native-engine/
- Source, developer docs and issues: https://github.com/gpt-cmdr/ras-commander-fast-hdf
- Changelog: https://github.com/gpt-cmdr/ras-commander-fast-hdf/blob/main/CHANGELOG.md
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ras_commander_fast_hdf-0.1.0.tar.gz | 1.8 MB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ras_commander_fast_hdf-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| ras_commander_fast_hdf-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| ras_commander_fast_hdf-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 21.8 MB
Release files / ras_commander_fast_hdf-0.1.0.tar.gz
| Download URL | ras_commander_fast_hdf-0.1.0.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1799e0fc477b7910184a3ce1c33c1b8395ea08a9045572285464b48fc7877aab
|
|
BLAKE2b-256 checksum How to use checksums |
ca91ea2e673ea34caa35bbd6abfb91a14eaa29a909bdf6ed619b69f383de0093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / ras_commander_fast_hdf-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | ras_commander_fast_hdf-0.1.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 |
be2c560f0c9f017aa3bc8938138f52a9db64f6a0eb67d1befbee92ee140255b7
|
|
BLAKE2b-256 checksum How to use checksums |
d3227bbf94b2cd1acc5c0b5add93ae2740221103ef4849b959c1486fb299ad4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / ras_commander_fast_hdf-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | ras_commander_fast_hdf-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9edd4a3529acd5f1903b1eaf7bf05d4670c99c9f914f041a3e0e03826357ee4b
|
|
BLAKE2b-256 checksum How to use checksums |
22aedf03784ae703280d27f3bf41e51d364ff68cef402866936d1f439880e404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / ras_commander_fast_hdf-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | ras_commander_fast_hdf-0.1.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 |
900ee1d479df36f380ccfa549ed0d42280908491e9332f492db0fe5157e76082
|
|
BLAKE2b-256 checksum How to use checksums |
95e4e51177905d27f3a34ba68dca7df1e665b26de317da2e6237e6c283b82efb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Security for ras-commander-fast-hdf 0.1.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.