Table of Contents

Class S411Dataset

Namespace
EncDotNet.S100.Datasets.S411
Assembly
EncDotNet.S100.Datasets.S411.dll

Root data model for an S-411 Sea Ice dataset, parsed from S-100 Part 10b GML encoding via EncDotNet.S100.Datasets.S411.S411DatasetReader.

public sealed class S411Dataset
Inheritance
S411Dataset
Inherited Members

Remarks

S-411 is the JCOMM/IHO product specification for Ice Information for Surface Navigation. See the S-411 Edition 1.2.1 Feature Catalogue for the full feature/attribute model.

Properties

AxisOrder

The outcome of the dataset-level axis-order check (issue #650), or null when the dataset has no positions. When it is Swapped the reader has already read every position longitude first.

public AxisOrderAssessment? AxisOrder { get; init; }

Property Value

AxisOrderAssessment

DatasetIdentifier

The dataset identifier (gml:id of the dataset root).

public string? DatasetIdentifier { get; init; }

Property Value

string

DeclaredEdition

The declared product-specification edition (e.g. "2.0.0") read from DatasetIdentificationInformation/productEdition, or null when the dataset declares none. S-100 Part 10b.

public string? DeclaredEdition { get; init; }

Property Value

string

Features

Feature instances contained in the dataset.

public required IReadOnlyList<S411Feature> Features { get; init; }

Property Value

IReadOnlyList<S411Feature>

IssueDate

The dataset's reference / issue timestamp, if one was carried in the source GML. For the IHO 1.2.1 sample shape this is parsed from S100:DatasetIdentificationInformation/S100:datasetReferenceDate (S-100 Part 17 dataset identification metadata, encoded per S-100 Part 10b §C.4 and §C.6). For the JCOMM operational shape the reader probes a small set of well-known issue/observation timestamp elements (ice:issueDateTime, ice:issueDate, ice:observationDateTime, ice:observationDate) that real-world Canadian-Ice-Service feeds have been observed to use. May be null when no recognised timestamp element is present.

public DateTime? IssueDate { get; init; }

Property Value

DateTime?

Remarks

S-411 Edition 1.2.1 datasets represent a single issue snapshot of the ice picture, so this single value is sufficient — there are no per-feature time-step samples like S-104 / S-111. Callers that participate in the viewer's global time slider treat this as the "snapshot at-or-before T" boundary.

ProductIdentifier

The product specification identifier (e.g. "S-411").

public string? ProductIdentifier { get; init; }

Property Value

string

SourceDocument

The original GML document the dataset was parsed from. Preserved so the XSLT portrayal pipeline can run the official S-411 stylesheets directly against the source XML — the stylesheets target the ice:IceDataSet / ice:IceFeatureMember / ice:<class> shape used by JCOMM operational producers, not a synthesised projection.

public required XDocument SourceDocument { get; init; }

Property Value

XDocument

Methods

Open(Stream)

Opens an S-411 dataset from a stream.

public static S411Dataset Open(Stream stream)

Parameters

stream Stream

Returns

S411Dataset

Open(string)

Opens an S-411 dataset from a file path.

public static S411Dataset Open(string path)

Parameters

path string

Returns

S411Dataset

ReadMetadata()

Produces the lightweight DatasetMetadata for this parsed dataset: declared specification and raw geographic extent (issue #460).

public DatasetMetadata ReadMetadata()

Returns

DatasetMetadata

ReadMetadata(Stream)

Reads only the lightweight DatasetMetadata for an S-411 dataset from stream (issue #460).

public static DatasetMetadata ReadMetadata(Stream stream)

Parameters

stream Stream

Returns

DatasetMetadata

ReadMetadata(string)

Reads only the lightweight DatasetMetadata for an S-411 dataset at path — its declared specification and geographic extent — for phased / deferred loading (issue #460).

public static DatasetMetadata ReadMetadata(string path)

Parameters

path string

Returns

DatasetMetadata