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.5.1

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.5.1
File Size Uploaded Provenance Actions
ras_commander_fast_hdf-0.5.1.tar.gz 591.9 kB Without provenance Details for ras_commander_fast_hdf-0.5.1.tar.gz

Built distributions (wheels)

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

Total release size: 29.2 MB

Release files / ras_commander_fast_hdf-0.5.1.tar.gz

Download URL ras_commander_fast_hdf-0.5.1.tar.gz
Size 591.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80ae78896f7623261324e3ea5ba5d3751a42507ce047041d9bdd7466794e63d8
BLAKE2b-256 checksum
How to use checksums
d368968532aea5b2e386946a6e76c12c8ec985af041d12a09a7160c6450a2005
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.5.1-cp310-abi3-win_amd64.whl

Download URL ras_commander_fast_hdf-0.5.1-cp310-abi3-win_amd64.whl
Size 7.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
04b028e5d0124e6170c1f5ef51d1bce8d097c095c4d9308a54cdc02a883df6fd
BLAKE2b-256 checksum
How to use checksums
40c819b7199784f26505a047d5ca42199ca0ba2deaf7d422e8dde252208bf8c6
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.5.1-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL ras_commander_fast_hdf-0.5.1-cp310-abi3-musllinux_1_2_x86_64.whl
Size 7.2 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
bb7a3059549698237d2fcc0077044f876d5034c49c462c2c003a2d19efd8022a
BLAKE2b-256 checksum
How to use checksums
099bdf978b2ad6936f0eff62ebb3df9413e5e49c54e7fb50fbed89b28d4d21bd
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.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL ras_commander_fast_hdf-0.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 7.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1cb42b5f10b83a1865290d3d6a20fc347c96ad373aa5b394342e3f39d9a3374f
BLAKE2b-256 checksum
How to use checksums
91b63559f23da42f4825c29d4a93f4c6913a0c5d1eb54c44d19ac9b4cefdc5cf
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.5.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL ras_commander_fast_hdf-0.5.1-cp310-abi3-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b6ce6be0c79e94c6f3a890275e70ee8deeea4beb27321e2ac1730c374e51a27
BLAKE2b-256 checksum
How to use checksums
13b1d002f628827498d7606a134779a8f678a11b48cd8b639f12ff6b436e022c
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.5.1

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