EncDotNet.S100.Hdf5.PureHdf
0.28.0
dotnet add package EncDotNet.S100.Hdf5.PureHdf --version 0.28.0
NuGet\Install-Package EncDotNet.S100.Hdf5.PureHdf -Version 0.28.0
<PackageReference Include="EncDotNet.S100.Hdf5.PureHdf" Version="0.28.0" />
<PackageVersion Include="EncDotNet.S100.Hdf5.PureHdf" Version="0.28.0" />
<PackageReference Include="EncDotNet.S100.Hdf5.PureHdf" />
paket add EncDotNet.S100.Hdf5.PureHdf --version 0.28.0
#r "nuget: EncDotNet.S100.Hdf5.PureHdf, 0.28.0"
#:package EncDotNet.S100.Hdf5.PureHdf@0.28.0
#addin nuget:?package=EncDotNet.S100.Hdf5.PureHdf&version=0.28.0
#tool nuget:?package=EncDotNet.S100.Hdf5.PureHdf&version=0.28.0
EncDotNet.S100.Hdf5.PureHdf
EncDotNet.S100.Hdf5.PureHdf implements the IHdf5File and IHdf5Group
interfaces from EncDotNet.S100.Core with
PureHDF, a managed .NET HDF5 library
with no native dependencies. The dataset pipelines use it to open S-102, S-104
and S-111 files. Reference it directly when you call an HDF5 product reader
yourself, or read HDF5 attributes and datasets through the core interfaces.
It's the only HDF5 backend in this repository.
Install
dotnet add package EncDotNet.S100.Hdf5.PureHdf
Example: read a root attribute
using EncDotNet.S100.Hdf5.PureHdf;
using var file = PureHdfFile.Open("path/to/dataset.h5");
string spec = file.Root.ReadStringAttribute("productSpecification");
Console.WriteLine(spec);
Example: write a file
Build the file as an Hdf5WriteGroup tree (from EncDotNet.S100.Core), then
write it. A struct dataset is a compound; name its members with
Hdf5MemberAttribute:
using EncDotNet.S100.Hdf5;
using EncDotNet.S100.Hdf5.PureHdf;
var root = new Hdf5WriteGroup().SetAttribute("productSpecification", "INT.IHO.S-104.2.0");
root.Group("WaterLevel").SetDataset("values", [new Value { Height = 1.5f }]);
PureHdfWriter.Write(root, "path/to/dataset.h5");
struct Value
{
[Hdf5Member("waterLevelHeight")] public float Height;
}
Strings are variable-length UTF-8 and enums are HDF5 enumerations. Pass
dimensions to SetDataset for a grid. Product writers such as
S104StationSeriesWriter build the tree for you. PureHDF's writer needs
runtime code generation, so writing doesn't work under NativeAOT; reading
does.
Main entry points
PureHdfFile.Openopens an HDF5 file from a path or a stream.Rootis the root group.IHdf5Group(fromEncDotNet.S100.Core, namespaceEncDotNet.S100.Hdf5) opens child groups and reads attributes, datasets and compound datasets.PureHdfWriter.Writewrites anHdf5WriteGrouptree to a path or a stream.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- EncDotNet.S100.Core (>= 0.28.0)
- PureHDF (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EncDotNet.S100.Hdf5.PureHdf:
| Package | Downloads |
|---|---|
|
EncDotNet.S100.Datasets.Pipelines
Per-spec IDatasetProcessor implementations, the DatasetPipelineFactory (file -> processor detection), the weather grid processors (NetCDF-CF, GRIB2), the CAP weather warning processor, the tropical cyclone advisory processor (NHC GIS shapefiles), the headless image-render capability, the S-98 interoperability authority, and the validation runner for IHO S-100 product datasets. Consumed by the EncDotNet.S100 convenience package, the viewer, and the s100 CLI. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.28.0 | 0 | 11/14/2026 |
| 0.27.0 | 112 | 11/9/2026 |
| 0.26.0 | 162 | 10/24/2026 |
| 0.25.1 | 148 | 10/12/2026 |
| 0.25.0 | 131 | 10/12/2026 |
| 0.24.0 | 180 | 10/4/2026 |
| 0.23.0 | 163 | 9/17/2026 |
| 0.22.0 | 216 | 7/19/2026 |
| 0.21.0 | 196 | 7/10/2026 |
| 0.20.0 | 210 | 6/29/2026 |
| 0.19.0 | 198 | 6/27/2026 |
| 0.18.0 | 206 | 6/17/2026 |
| 0.17.1 | 206 | 6/16/2026 |
| 0.17.0 | 206 | 6/15/2026 |
| 0.16.0 | 196 | 6/8/2026 |
| 0.15.0 | 145 | 6/6/2026 |
| 0.14.0 | 132 | 6/6/2026 |
| 0.13.0 | 140 | 6/3/2026 |
| 0.12.0 | 139 | 5/29/2026 |
| 0.11.0 | 123 | 5/19/2026 |