Table of Contents

Class S102DatasetReader

Namespace
EncDotNet.S100.Datasets.S102
Assembly
EncDotNet.S100.Datasets.S102.dll

Reads an S-102 Bathymetric Surface dataset from an HDF5 file via the IHdf5File abstraction.

public static class S102DatasetReader
Inheritance
S102DatasetReader
Inherited Members

Methods

Read(IHdf5File)

Reads an S102Dataset from the given HDF5 file.

public static S102Dataset Read(IHdf5File file)

Parameters

file IHdf5File

Returns

S102Dataset

ReadMetadata(IHdf5File)

Reads only the lightweight DatasetMetadata for the S-102 dataset โ€” its declared specification, horizontal CRS, and geographic extent โ€” without reading the (potentially very large) values depth/uncertainty arrays. Used by hosts that need to place the dataset on a map and decide whether to load it in full (phased / deferred loading; issue #460).

public static DatasetMetadata ReadMetadata(IHdf5File file)

Parameters

file IHdf5File

Returns

DatasetMetadata

Remarks

The extent is the union of every BathymetryCoverage.NN instance's grid footprint, computed from the mandatory grid-georef attributes (S-100 Part 10c ยง10.2.1.2) exactly as S102CoverageSource.Metadata.NativeExtent derives it โ€” so Extent matches the full-load extent. The edge values are in the dataset's native CRS (HorizontalCrsEpsg), which may be a projected UTM system rather than WGS-84. S-102 is static and carries no display-scale window, so DisplayScale and TimeCoverage are always null.