Table of Contents

Class S111ReadOptions

Namespace
EncDotNet.S100.Datasets.S111
Assembly
EncDotNet.S100.Datasets.S111.dll

Options controlling how ReadAny(IHdf5File, S111ReadOptions?) materializes a dataset.

public sealed class S111ReadOptions
Inheritance
S111ReadOptions
Inherited Members

Properties

DeferValueReads

When true, dcf2 (regular-grid) per-time-step values datasets are read lazily on first access rather than decoded up front. Per-step time points are derived arithmetically from dateTimeOfFirstRecord + i × timeRecordInterval (S-111 Edition 2.0.0 §10.2.6), so the reader does not open every Group_NNN at load time.

public bool DeferValueReads { get; init; }

Property Value

bool

Remarks

The caller must keep the underlying HDF5 file open for the lifetime of the returned dataset. dcf1/dcf3/dcf8 station-series datasets always materialize fully and ignore this flag.

HdfSyncRoot

Optional synchronization object guarding access to the underlying HDF5 file. PureHDF reads from a single shared stream are not concurrency-safe, so lazy value factories lock this object before reading. When null, each instance group uses its own private lock. Callers that keep the file open and read from it elsewhere should pass the same object and lock it around their own reads.

public object? HdfSyncRoot { get; init; }

Property Value

object