The functions in s102.utils can be accessed by just importing s102. They are automatically imported but can be brought in separately if desired.:

from s100py import s102
s102.from_gdal(...)
# or
from s100py.s102 import utils
utils.from_gdal(...)
# or
from s100py import s102.utils
s102.utils.from_gdal(...)

s100py.s102.utils Module

Functions to create S102 data from other sources

Functions

bool_question(question[, title, icon])

browse_files(question)

create_s102(output_file[, overwrite])

Creates or updates an S102File object.

from_arrays(depth_grid, uncert_grid, output_file)

Creates or updates an S102File object based on numpy array/h5py datasets.

from_arrays_with_metadata(depth_grid, ...[, ...])

Fills or creates an S102File from the given arguments.

from_bag(bagfile, output_file[, metadata])

param bagfile

Either a path to a raster file that GDAL can open or a gdal.Dataset object.

from_gdal(input_raster, output_file[, metadata])

Fills or creates an S102File from the given arguments.

get_valid_epsg()

Create and return the list of valid EPSG codes for S-102 version 2.0.

make_parser()

plot_depth_using_h5py(filename[, enc_color])