import mikeio1d
Any network result file that can be opened with mikeio1d can be saved into a res1d format.
mikeio1d.Res1D.get_supported_file_extensions()
{'.crf', '.out', '.prf', '.res', '.res11', '.res1d', '.resx', '.whr', '.xrf'}
Convert res11 to res1d as an example.
res = mikeio1d.open("../tests/testdata/network_cali.res11")
res
<mikeio1d.Res1D>
res.save("network_cali.res1d")
res = mikeio1d.open("network_cali.res1d")
res
<mikeio1d.Res1D>
Clean up
import os
os.remove("network_cali.res1d")