Table of Contents

Class RemoteS100CatalogueReader

Namespace
EncDotNet.S100.Collections.RemoteCatalogues
Assembly
EncDotNet.S100.Collections.dll

Reads a RemoteS100Catalogue from a downloaded S-100 CATALOG.XML.

public static class RemoteS100CatalogueReader
Inheritance
RemoteS100CatalogueReader
Inherited Members

Methods

Read(Stream, Uri, string?)

Reads the catalogue in stream, which may be gzip-compressed (NOAA serves some copies with Content-Encoding: gzip), resolving dataset file names against catalogUri.

public static RemoteS100Catalogue Read(Stream stream, Uri catalogUri, string? downloadFolder = null)

Parameters

stream Stream

The catalogue's bytes.

catalogUri Uri

Where the catalogue was fetched from.

downloadFolder string

The managed download folder items go to (see DownloadFolder).

Returns

RemoteS100Catalogue

Exceptions

XmlException

The content is not an S-100 exchange catalogue.

StableName(string)

A dataset's name without the version or run-time tokens some producers append to their file names, so the item keeps its identity across editions. NOAA appends digits to S-102 tile names (102US004SC1EV262247 → 102US004SC1EV) and a run time to forecast tiles (104US004SC1BO_20251217T12Z → 104US004SC1BO). Other names are kept as they are.

public static string StableName(string stem)

Parameters

stem string

Returns

string