from_gdal

s100py.s102.v2_0.utils.from_gdal(input_raster, output_file, metadata=None, flip_z=False)

Fills or creates an S102File from the given arguments.

For most parameters, see S102File.load_arrays

Parameters:

output_file – Can be an S102File object or anything the h5py.File would accept, e.g. string file path, tempfile obect, BytesIO etc.

Return type:

S102File