# S104 -- S-104 Water Level Information for Surface Navigation Product

Driver short name

S104

Build dependencies

libhdf5

Added in version 3.9.

This driver provides read-only support for water level data in the S-104 format, which is a specific product profile in an HDF5 file.

S-104 files have two image bands representing water level height (band 1) and water level trend (band 2) values for each cell in a raster grid area.

When opening a S-104 file, no raster band is directly available. But a list of subdatasets will be reported, one for each timestamp available in the file.

An actual dataset can be opened through such a subdataset, with a syntax like `S104:"{filename.h5}":Group_001`.

Georeferencing is reported.

Note that the driver currently only supports regularly gridded S104 datasets.

Since GDAL 3.12, multiple feature instance groups per dataset (to encode grids using different vertical datums) are supported. In that case, each feature instance group and timestamp group is exposed as a GDAL subdataset, whose name is of the form `S104:"{filename.h5}":WaterLevel.{XX}:Group_{YYY}`.

## Driver capabilities

Supports Georeferencing

This driver supports georeferencing

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)

## Open options

Open options can be specified in command-line tools using the syntax `-oo <NAME>=<VALUE>` or by providing the appropriate arguments to `GDALOpenEx()` (C) or `gdal.OpenEx` (Python). The following open options are supported:

- NORTH_UP=[YES​/​NO]: Defaults to `YES`. Whether the top line of the dataset should be the northern-most one.

  This is the default behavior of most GDAL formats, but the native organization of the data in S-104 products is to have the first line of the grid being the southern-most one. This native organization can be exposed by the driver by setting this option to NO (in which case the 6th term of the geotransform matrix will be positive)

## See Also

- Implemented as s104dataset.cpp.

- S-104 Bathymetric Surface Product Specification

- BAG driver

- S-102 driver

- S-111 driver