from_gdal
- s100py.s102.v2_2.utils.from_gdal(input_raster, output_file, metadata=None, flip_z=False)
Fills or creates an
S102Filefrom the given arguments. Assumes that depth is in band 1, uncertainty is in band 2, quality is in band 3.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: